Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] linux-libc-headers-yocto: bump to 3.22 and fix validation
@ 2012-03-01  2:27 Bruce Ashfield
  2012-03-01  2:27 ` [PATCH 1/1] linux-libc-headers-yocto: bump to v3.2.8 Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Ashfield @ 2012-03-01  2:27 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, openembedded-core, saul.wold

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.

cc: Darren Hart <dvhart@linux.intel.com>

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(-)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] linux-libc-headers-yocto: bump to v3.2.8
  2012-03-01  2:27 [PATCH 0/1] linux-libc-headers-yocto: bump to 3.22 and fix validation Bruce Ashfield
@ 2012-03-01  2:27 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2012-03-01  2:27 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, openembedded-core, saul.wold

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]

Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 .../linux-libc-headers-yocto_git.bb                |   29 +++++++++++++-------
 1 files changed, 19 insertions(+), 10 deletions(-)

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 734170f..7aa9322 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
@@ -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"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-01  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-01  2:27 [PATCH 0/1] linux-libc-headers-yocto: bump to 3.22 and fix validation Bruce Ashfield
2012-03-01  2:27 ` [PATCH 1/1] linux-libc-headers-yocto: bump to v3.2.8 Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox