From 26e6b0a143ebfb5a5defa1b958f359472fb9108f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 21 Jun 2012 14:07:44 -0400 Subject: [PATCH] linux-libc-headers-yocto: update to v3.4 and remove unecessary code Updating the linux-libc-headers-yocto recipe to 3.4. There are blocks of code and definitions that are handled by the included libc-headers.inc, so we shouldn't be repeating them in this recipe. (From meta-yocto rev: ad8456e013907c444d972ad945b8d6e96be1d4f0) Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- .../linux-libc-headers-yocto_git.bb | 32 ++++--------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb index 831e4522bb..b4222f14bb 100644 --- a/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb +++ b/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb @@ -3,18 +3,17 @@ include recipes-kernel/linux/linux-yocto.inc B = "${S}" -INHIBIT_DEFAULT_DEPS = "1" -DEPENDS += "unifdef-native" PROVIDES = "linux-libc-headers" RPROVIDES_${PN}-dev = "linux-libc-headers-dev" RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" -SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702" -KBRANCH ?= "standard/base" -KMETA ?= "meta" -PV = "3.2+git-${SRCPV}" -PR = "r5" -SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" +KBRANCH = "standard/base" +SRCREV = "a1cdb60720c452c3965eaec3ec2cd10f06261cc5" + +PV = "3.4+git-${SRCPV}" +PR = "r6" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" # force this to empty to prevent installation failures, we aren't # building a device tree as part of kern headers @@ -22,17 +21,6 @@ KERNEL_DEVICETREE = "" inherit kernel-arch -do_configure() { - oe_runmake allnoconfig -} - -do_install() { - oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} - - # The ..install.cmd conflicts between various configure runs - find ${D}${includedir} -name ..install.cmd | xargs rm -f -} - # The following tasks are not required when we just want # headers. So we override and stub them out. do_kernel_configme() { @@ -41,12 +29,6 @@ do_kernel_configme() { do_patch () { } -do_compile () { -} - -do_validate_branches () { -} - do_kernel_configcheck () { }