summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
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"