summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2010-12-20 14:52:56 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 14:28:21 +0000
commit88d27ef44823298251db33768ab2187f0ad9943e (patch)
tree6d7a9542419a6c1de8688fc8e672962f7c49aa4b
parentf93147633e0212a11d25fbfa56e221c0d8d1a9ac (diff)
downloadpoky-88d27ef44823298251db33768ab2187f0ad9943e.tar.gz
qemu: match kernel headers to preferred kernel
As the yocto-kernel advances, the libc headers must also advance. This commit fixes the SRC_URI and SRCPV to work properly with the latest linux-yocto kernel. It also switches the qemu* targets to prefer this libc recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta/conf/machine/include/qemu.inc2
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb10
2 files changed, 5 insertions, 7 deletions
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 502e24f770..d762d010c4 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -16,6 +16,6 @@ RDEPENDS_kernel-base = ""
16 16
17# Use a common kernel recipe for all QEMU machines 17# Use a common kernel recipe for all QEMU machines
18PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" 18PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
19#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" 19PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
20 20
21EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" 21EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 0515233958..762b6a8d24 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
@@ -6,14 +6,12 @@ B = "${S}"
6INHIBIT_DEFAULT_DEPS = "1" 6INHIBIT_DEFAULT_DEPS = "1"
7DEPENDS += "unifdef-native" 7DEPENDS += "unifdef-native"
8PROVIDES = "linux-libc-headers" 8PROVIDES = "linux-libc-headers"
9PV = "2.6.34+git-${SRCPV}" 9PV = "2.6.37+git-${SRCPV}"
10PR = "r1" 10PR = "r2"
11
12SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;fullclone=1"
13 11
14SRCREV_FORMAT = "meta_machine" 12SRCREV_FORMAT = "meta_machine"
15SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ 13SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \
16 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" 14 git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;noclone=1;branch=meta;name=meta"
17 15
18set_arch() { 16set_arch() {
19 case ${TARGET_ARCH} in 17 case ${TARGET_ARCH} in