linux-libc-headers-yocto: bump to 3.22 and fix validation
cover linux-libc-headers-yocto: bump to 3.22 and fix validation
Richard/Saul,
This is a second fix for YOCTO 2032. BSPs that want the bleeding edge kernel headers were still seeing some branch validation errors with the yocto libc headers recipe.
There were two reasons:
- we were pointing at an old tree, which introduced some branch naming issues
- there were some new routines in the base yocto kernel class that should just be overriden
This change bumps the linux-yocto based libc headers to v3.2.8, indicates that 'standard/base' should be used for those headers and stubs out validation and configuration tasks we don't need for header generation.
Both Darren and myself have tested this one.
Cheers,
Bruce
The following changes since commit 8f07bdc0a42dd7a7c3acf5d1b13220dbc98c8017:
Richard Purdie (1):
image_types_uboot: Update to work after recent image_types changes
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/yocto-libc-headers
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/yocto-libc-headers
Bruce Ashfield (1):
linux-libc-headers-yocto: bump to v3.2.8
.../linux-libc-headers-yocto_git.bb | 29 +++++++++++++------- 1 files changed, 19 insertions(+), 10 deletions(-)
PATCH 1/1 linux-libc-headers-yocto: bump to v3.2.8
Making two changes for BSPs that prefer linux-libc-headers-yocto:
- bumping to v3.2.8 headers
- stubbing out unecessary linux-yocto functions when headers are being built
[YOCTO #2032]
--- .../linux-libc-headers-yocto_git.bb | 29 +++++++++++++------- 1 files changed, 19 insertions(+), 10 deletions(-)
meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb +19 -10
@@ -8,12 +8,13 @@ DEPENDS += "unifdef-native" PROVIDES = "linux-libc-headers" RPROVIDES_${PN}-dev = "linux-libc-headers-dev" RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" -SRCREV = "69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3" -PV = "2.6.37+git-${SRCPV}" -PR = "r4" +SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702" +KBRANCH ?= "standard/base" +KMETA ?= "meta" +PV = "3.2+git-${SRCPV}" +PR = "r5" -SRCREV_FORMAT = "meta_machine" -SRC_URI = "git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" +SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;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
@@ -35,6 +36,16 @@ do_configure() { oe_runmake allnoconfig ARCH=$ARCH } +do_install() { + set_arch + oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH + + # 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() { }
@@ -44,12 +55,10 @@ do_patch () { do_compile () { } -do_install() { - set_arch - oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH +do_validate_branches () { +} - # The ..install.cmd conflicts between various configure runs - find ${D}${includedir} -name ..install.cmd | xargs rm -f +do_kernel_configcheck () { } BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.7.0.4