]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: match kernel headers to preferred kernel
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 20 Dec 2010 19:52:56 +0000 (14:52 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 23 Dec 2010 14:28:21 +0000 (14:28 +0000)
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>
meta/conf/machine/include/qemu.inc
meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb

index 502e24f77089e89917661c828cc6ba6c118b7796..d762d010c46e93e93f615deaed8869625d92fa67 100644 (file)
@@ -16,6 +16,6 @@ RDEPENDS_kernel-base = ""
 
 # Use a common kernel recipe for all QEMU machines
 PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
-#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
+PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 
 EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
index 05152339584d08813cf1599a0fada55ea53e912e..762b6a8d2442021d8db66d5bdf362d0d4644f6dc 100644 (file)
@@ -6,14 +6,12 @@ B = "${S}"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
 PROVIDES = "linux-libc-headers"
-PV = "2.6.34+git-${SRCPV}"
-PR = "r1"
-
-SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;fullclone=1"
+PV = "2.6.37+git-${SRCPV}"
+PR = "r2"
 
 SRCREV_FORMAT = "meta_machine"
-SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \
-           git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta"
+SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \
+           git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;noclone=1;branch=meta;name=meta"
 
 set_arch() {
        case ${TARGET_ARCH} in