diff options
| -rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb | 64 |
1 files changed, 0 insertions, 64 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 deleted file mode 100644 index 7aa932224f..0000000000 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb +++ /dev/null | |||
| @@ -1,64 +0,0 @@ | |||
| 1 | require linux-libc-headers.inc | ||
| 2 | include recipes-kernel/linux/linux-yocto.inc | ||
| 3 | |||
| 4 | B = "${S}" | ||
| 5 | |||
| 6 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 7 | DEPENDS += "unifdef-native" | ||
| 8 | PROVIDES = "linux-libc-headers" | ||
| 9 | RPROVIDES_${PN}-dev = "linux-libc-headers-dev" | ||
| 10 | RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg" | ||
| 11 | SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702" | ||
| 12 | KBRANCH ?= "standard/base" | ||
| 13 | KMETA ?= "meta" | ||
| 14 | PV = "3.2+git-${SRCPV}" | ||
| 15 | PR = "r5" | ||
| 16 | |||
| 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | ||
| 18 | |||
| 19 | # force this to empty to prevent installation failures, we aren't | ||
| 20 | # building a device tree as part of kern headers | ||
| 21 | KERNEL_DEVICETREE = "" | ||
| 22 | |||
| 23 | set_arch() { | ||
| 24 | case ${TARGET_ARCH} in | ||
| 25 | arm*) ARCH=arm ;; | ||
| 26 | i*86*) ARCH=i386 ;; | ||
| 27 | ia64*) ARCH=ia64 ;; | ||
| 28 | mips*) ARCH=mips ;; | ||
| 29 | powerpc*) ARCH=powerpc ;; | ||
| 30 | x86_64*) ARCH=x86_64 ;; | ||
| 31 | esac | ||
| 32 | } | ||
| 33 | |||
| 34 | do_configure() { | ||
| 35 | set_arch | ||
| 36 | oe_runmake allnoconfig ARCH=$ARCH | ||
| 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. | ||
| 49 | do_kernel_configme() { | ||
| 50 | } | ||
| 51 | |||
| 52 | do_patch () { | ||
| 53 | } | ||
| 54 | |||
| 55 | do_compile () { | ||
| 56 | } | ||
| 57 | |||
| 58 | do_validate_branches () { | ||
| 59 | } | ||
| 60 | |||
| 61 | do_kernel_configcheck () { | ||
| 62 | } | ||
| 63 | |||
| 64 | BBCLASSEXTEND = "nativesdk" | ||
