summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc47
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb48
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.39.bb49
3 files changed, 49 insertions, 95 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index 014024f460..e586ac301e 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -5,6 +5,53 @@ LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
6SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v2.6/linux-${PV}.tar.bz2" 6SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v2.6/linux-${PV}.tar.bz2"
7 7
8S = "${WORKDIR}/linux-${PV}"
9
10set_arch() {
11 case ${TARGET_ARCH} in
12 alpha*) ARCH=alpha ;;
13 arm*) ARCH=arm ;;
14 cris*) ARCH=cris ;;
15 hppa*) ARCH=parisc ;;
16 i*86*) ARCH=i386 ;;
17 ia64*) ARCH=ia64 ;;
18 mips*) ARCH=mips ;;
19 m68k*) ARCH=m68k ;;
20 powerpc*) ARCH=powerpc ;;
21 s390*) ARCH=s390 ;;
22 sh*) ARCH=sh ;;
23 sparc64*) ARCH=sparc64 ;;
24 sparc*) ARCH=sparc ;;
25 x86_64*) ARCH=x86_64 ;;
26 avr32*) ARCH=avr32 ;;
27 bfin*) ARCH=blackfin ;;
28 microblaze*) ARCH=microblaze ;;
29 esac
30}
31
32do_configure() {
33 set_arch
34 oe_runmake allnoconfig ARCH=$ARCH
35}
36
37do_compile () {
38}
39
40do_install() {
41 set_arch
42 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
43 # Kernel should not be exporting this header
44 rm -f ${D}${exec_prefix}/include/scsi/scsi.h
45
46 # The ..install.cmd conflicts between various configure runs
47 find ${D}${includedir} -name ..install.cmd | xargs rm -f
48}
49
50BBCLASSEXTEND = "nativesdk"
51
8#DEPENDS = "cross-linkage" 52#DEPENDS = "cross-linkage"
9RDEPENDS_${PN}-dev = "" 53RDEPENDS_${PN}-dev = ""
10RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 54RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
55
56INHIBIT_DEFAULT_DEPS = "1"
57DEPENDS += "unifdef-native" \ No newline at end of file
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb
index 55d752798a..c6562b5ebf 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb
@@ -1,53 +1,7 @@
1require linux-libc-headers.inc 1require linux-libc-headers.inc
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3PR = "r3"
4DEPENDS += "unifdef-native"
5PR = "r2"
6 4
7SRC_URI += " file://connector-msg-size-fix.patch" 5SRC_URI += " file://connector-msg-size-fix.patch"
8
9S = "${WORKDIR}/linux-${PV}"
10
11set_arch() {
12 case ${TARGET_ARCH} in
13 alpha*) ARCH=alpha ;;
14 arm*) ARCH=arm ;;
15 cris*) ARCH=cris ;;
16 hppa*) ARCH=parisc ;;
17 i*86*) ARCH=i386 ;;
18 ia64*) ARCH=ia64 ;;
19 mips*) ARCH=mips ;;
20 m68k*) ARCH=m68k ;;
21 powerpc*) ARCH=powerpc ;;
22 s390*) ARCH=s390 ;;
23 sh*) ARCH=sh ;;
24 sparc64*) ARCH=sparc64 ;;
25 sparc*) ARCH=sparc ;;
26 x86_64*) ARCH=x86_64 ;;
27 avr32*) ARCH=avr32 ;;
28 bfin*) ARCH=blackfin ;;
29 microblaze*) ARCH=microblaze ;;
30 esac
31}
32
33do_configure() {
34 set_arch
35 oe_runmake allnoconfig ARCH=$ARCH
36}
37
38do_compile () {
39}
40
41do_install() {
42 set_arch
43 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
44 # Kernel should not be exporting this header
45 rm -f ${D}${exec_prefix}/include/scsi/scsi.h
46
47 # The ..install.cmd conflicts between various configure runs
48 find ${D}${includedir} -name ..install.cmd | xargs rm -f
49}
50
51BBCLASSEXTEND = "nativesdk"
52SRC_URI[md5sum] = "89f681bc7c917a84aa7470da6eed5101" 6SRC_URI[md5sum] = "89f681bc7c917a84aa7470da6eed5101"
53SRC_URI[sha256sum] = "2920c4cd3e87fe40ebee96d28779091548867e1c36f71c1fc3d07e6d5802161f" 7SRC_URI[sha256sum] = "2920c4cd3e87fe40ebee96d28779091548867e1c36f71c1fc3d07e6d5802161f"
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
index 14f5e8a1ae..36cfb4fcab 100644
--- 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
@@ -1,54 +1,7 @@
1require linux-libc-headers.inc 1require linux-libc-headers.inc
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3PR = "r3"
4DEPENDS += "unifdef-native"
5 4
6SRC_URI += " file://connector-msg-size-fix.patch" 5SRC_URI += " file://connector-msg-size-fix.patch"
7SRC_URI[md5sum] = "1aab7a741abe08d42e8eccf20de61e05" 6SRC_URI[md5sum] = "1aab7a741abe08d42e8eccf20de61e05"
8SRC_URI[sha256sum] = "584d17f2a3ee18a9501d7ff36907639e538cfdba4529978b8550c461d45c61f6" 7SRC_URI[sha256sum] = "584d17f2a3ee18a9501d7ff36907639e538cfdba4529978b8550c461d45c61f6"
9
10S = "${WORKDIR}/linux-${PV}"
11
12PR = "r2"
13
14set_arch() {
15 case ${TARGET_ARCH} in
16 alpha*) ARCH=alpha ;;
17 arm*) ARCH=arm ;;
18 cris*) ARCH=cris ;;
19 hppa*) ARCH=parisc ;;
20 i*86*) ARCH=i386 ;;
21 ia64*) ARCH=ia64 ;;
22 mips*) ARCH=mips ;;
23 m68k*) ARCH=m68k ;;
24 powerpc*) ARCH=powerpc ;;
25 s390*) ARCH=s390 ;;
26 sh*) ARCH=sh ;;
27 sparc64*) ARCH=sparc64 ;;
28 sparc*) ARCH=sparc ;;
29 x86_64*) ARCH=x86_64 ;;
30 avr32*) ARCH=avr32 ;;
31 bfin*) ARCH=blackfin ;;
32 microblaze*) ARCH=microblaze ;;
33 esac
34}
35
36do_configure() {
37 set_arch
38 oe_runmake allnoconfig ARCH=$ARCH
39}
40
41do_compile () {
42}
43
44do_install() {
45 set_arch
46 oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
47 # Kernel should not be exporting this header
48 rm -f ${D}${exec_prefix}/include/scsi/scsi.h
49
50 # The ..install.cmd conflicts between various configure runs
51 find ${D}${includedir} -name ..install.cmd | xargs rm -f
52}
53
54BBCLASSEXTEND = "nativesdk"