summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-02-29 21:27:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-01 15:51:38 +0000
commite175f94ab6392e28f158e7b475a4d85e103768f0 (patch)
tree3aebcb1718cb2f33be24a2299ab768e343af24e9 /meta/recipes-kernel
parentda5236cf0789c2efa74e6f9d0e13552c1fa915cd (diff)
downloadpoky-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.bb29
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"
8PROVIDES = "linux-libc-headers" 8PROVIDES = "linux-libc-headers"
9RPROVIDES_${PN}-dev = "linux-libc-headers-dev" 9RPROVIDES_${PN}-dev = "linux-libc-headers-dev"
10RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" 10RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg"
11SRCREV = "69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3" 11SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702"
12PV = "2.6.37+git-${SRCPV}" 12KBRANCH ?= "standard/base"
13PR = "r4" 13KMETA ?= "meta"
14PV = "3.2+git-${SRCPV}"
15PR = "r5"
14 16
15SRCREV_FORMAT = "meta_machine" 17SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
16SRC_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
39do_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.
38do_kernel_configme() { 49do_kernel_configme() {
39} 50}
40 51
@@ -44,12 +55,10 @@ do_patch () {
44do_compile () { 55do_compile () {
45} 56}
46 57
47do_install() { 58do_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 61do_kernel_configcheck () {
52 find ${D}${includedir} -name ..install.cmd | xargs rm -f
53} 62}
54 63
55BBCLASSEXTEND = "nativesdk" 64BBCLASSEXTEND = "nativesdk"