diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-02-29 21:27:07 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:38 +0000 |
commit | e175f94ab6392e28f158e7b475a4d85e103768f0 (patch) | |
tree | 3aebcb1718cb2f33be24a2299ab768e343af24e9 /meta/recipes-kernel | |
parent | da5236cf0789c2efa74e6f9d0e13552c1fa915cd (diff) | |
download | poky-e175f94ab6392e28f158e7b475a4d85e103768f0.tar.gz |
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]
Acked-by: Darren Hart <dvhart@linux.intel.com>
(From OE-Core rev: 0889f693916bb8f77003af419f71212201b4d9c9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/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 734170f843..7aa932224f 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" | |||
8 | PROVIDES = "linux-libc-headers" | 8 | PROVIDES = "linux-libc-headers" |
9 | RPROVIDES_${PN}-dev = "linux-libc-headers-dev" | 9 | RPROVIDES_${PN}-dev = "linux-libc-headers-dev" |
10 | RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" | 10 | RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" |
11 | SRCREV = "69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3" | 11 | SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702" |
12 | PV = "2.6.37+git-${SRCPV}" | 12 | KBRANCH ?= "standard/base" |
13 | PR = "r4" | 13 | KMETA ?= "meta" |
14 | PV = "3.2+git-${SRCPV}" | ||
15 | PR = "r5" | ||
14 | 16 | ||
15 | SRCREV_FORMAT = "meta_machine" | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" |
16 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | ||
17 | 18 | ||
18 | # force this to empty to prevent installation failures, we aren't | 19 | # force this to empty to prevent installation failures, we aren't |
19 | # building a device tree as part of kern headers | 20 | # building a device tree as part of kern headers |
@@ -35,6 +36,16 @@ do_configure() { | |||
35 | oe_runmake allnoconfig ARCH=$ARCH | 36 | oe_runmake allnoconfig ARCH=$ARCH |
36 | } | 37 | } |
37 | 38 | ||
39 | do_install() { | ||
40 | set_arch | ||
41 | oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH | ||
42 | |||
43 | # The ..install.cmd conflicts between various configure runs | ||
44 | find ${D}${includedir} -name ..install.cmd | xargs rm -f | ||
45 | } | ||
46 | |||
47 | # The following tasks are not required when we just want | ||
48 | # headers. So we override and stub them out. | ||
38 | do_kernel_configme() { | 49 | do_kernel_configme() { |
39 | } | 50 | } |
40 | 51 | ||
@@ -44,12 +55,10 @@ do_patch () { | |||
44 | do_compile () { | 55 | do_compile () { |
45 | } | 56 | } |
46 | 57 | ||
47 | do_install() { | 58 | do_validate_branches () { |
48 | set_arch | 59 | } |
49 | oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH | ||
50 | 60 | ||
51 | # The ..install.cmd conflicts between various configure runs | 61 | do_kernel_configcheck () { |
52 | find ${D}${includedir} -name ..install.cmd | xargs rm -f | ||
53 | } | 62 | } |
54 | 63 | ||
55 | BBCLASSEXTEND = "nativesdk" | 64 | BBCLASSEXTEND = "nativesdk" |