diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-21 15:00:23 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:57:06 +0100 |
| commit | 771f5d00c8fa1aec982ec3a2264cb369a3ee024e (patch) | |
| tree | 6202a6f72ed551d3ac4e859a55e716a0fb3f4db6 | |
| parent | 409ac8f2423a38c02d0e810569de13a1083c9b8b (diff) | |
| download | poky-771f5d00c8fa1aec982ec3a2264cb369a3ee024e.tar.gz | |
linux-libc-headers: add 2.6.39
The 2.6.37.2 version is kept to allow the qemu kernels and libc headers version to match
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.39.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.39.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.39.bb new file mode 100644 index 0000000000..65c19ecea6 --- /dev/null +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.39.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | require linux-libc-headers.inc | ||
| 2 | |||
| 3 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 4 | DEPENDS += "unifdef-native" | ||
| 5 | |||
| 6 | SRC_URI += " file://connector-msg-size-fix.patch" | ||
| 7 | SRC_URI[md5sum] = "1aab7a741abe08d42e8eccf20de61e05" | ||
| 8 | SRC_URI[sha256sum] = "584d17f2a3ee18a9501d7ff36907639e538cfdba4529978b8550c461d45c61f6" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/linux-${PV}" | ||
| 11 | |||
| 12 | set_arch() { | ||
| 13 | case ${TARGET_ARCH} in | ||
| 14 | alpha*) ARCH=alpha ;; | ||
| 15 | arm*) ARCH=arm ;; | ||
| 16 | cris*) ARCH=cris ;; | ||
| 17 | hppa*) ARCH=parisc ;; | ||
| 18 | i*86*) ARCH=i386 ;; | ||
| 19 | ia64*) ARCH=ia64 ;; | ||
| 20 | mips*) ARCH=mips ;; | ||
| 21 | m68k*) ARCH=m68k ;; | ||
| 22 | powerpc*) ARCH=powerpc ;; | ||
| 23 | s390*) ARCH=s390 ;; | ||
| 24 | sh*) ARCH=sh ;; | ||
| 25 | sparc64*) ARCH=sparc64 ;; | ||
| 26 | sparc*) ARCH=sparc ;; | ||
| 27 | x86_64*) ARCH=x86_64 ;; | ||
| 28 | avr32*) ARCH=avr32 ;; | ||
| 29 | bfin*) ARCH=blackfin ;; | ||
| 30 | microblaze*) ARCH=microblaze ;; | ||
| 31 | esac | ||
| 32 | } | ||
| 33 | |||
| 34 | do_configure() { | ||
| 35 | set_arch | ||
| 36 | oe_runmake allnoconfig ARCH=$ARCH | ||
| 37 | } | ||
| 38 | |||
| 39 | do_compile () { | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install() { | ||
| 43 | set_arch | ||
| 44 | oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH | ||
| 45 | # Kernel should not be exporting this header | ||
| 46 | rm -f ${D}${exec_prefix}/include/scsi/scsi.h | ||
| 47 | } | ||
| 48 | |||
| 49 | BBCLASSEXTEND = "nativesdk" | ||
