diff options
| -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" |
