diff options
Diffstat (limited to 'meta')
-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" | ||