diff options
author | Richard Purdie <richard@openedhand.com> | 2008-06-16 11:06:51 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-06-16 11:06:51 +0000 |
commit | fa3ae725a89c9b4edffe428479bf31827c420916 (patch) | |
tree | e45b71ccba9608b3351968ec1bbd4e58e9a1ed00 /meta/packages/linux-libc-headers | |
parent | 25c0b9730827887e5da64332c89b8102ca6d7f6b (diff) | |
download | poky-fa3ae725a89c9b4edffe428479bf31827c420916.tar.gz |
linux-libc-headers: Clear out old versions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4668 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers')
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb deleted file mode 100644 index 3abf26f4ff..0000000000 --- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18.bb +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | require linux-libc-headers.inc | ||
2 | |||
3 | INHIBIT_DEFAULT_DEPS = "1" | ||
4 | DEPENDS += "unifdef-native" | ||
5 | PR = "r5" | ||
6 | |||
7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \ | ||
8 | file://arm-syscall-define.patch;patch=1" | ||
9 | |||
10 | S = "${WORKDIR}/linux-2.6.18" | ||
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 | esac | ||
29 | } | ||
30 | |||
31 | do_configure() { | ||
32 | set_arch | ||
33 | oe_runmake allnoconfig ARCH=${ARCH} | ||
34 | } | ||
35 | |||
36 | do_compile () { | ||
37 | } | ||
38 | |||
39 | do_install() { | ||
40 | set_arch | ||
41 | oe_runmake headers_install INSTALL_HDR_PATH=${D}/usr ARCH=${ARCH} | ||
42 | } | ||
43 | |||
44 | do_install_append_arm() { | ||
45 | cp include/asm-arm/procinfo.h ${D}${includedir}/asm | ||
46 | } | ||
47 | |||
48 | STAGE_TEMP="${WORKDIR}/temp-staging" | ||
49 | |||
50 | do_stage () { | ||
51 | set_arch | ||
52 | rm -rf ${STAGE_TEMP} | ||
53 | mkdir -p ${STAGE_TEMP} | ||
54 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=${ARCH} | ||
55 | if [ "${ARCH}" == "arm" ]; then | ||
56 | cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm | ||
57 | fi | ||
58 | install -d ${STAGING_INCDIR} | ||
59 | rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic | ||
60 | cp -pfLR ${STAGE_TEMP}${includedir}/linux ${STAGING_INCDIR}/ | ||
61 | cp -pfLR ${STAGE_TEMP}${includedir}/asm ${STAGING_INCDIR}/ | ||
62 | cp -pfLR ${STAGE_TEMP}${includedir}/asm-generic ${STAGING_INCDIR}/ | ||
63 | # Add UTS_RELEASE to version.h. UTS_RELEASE was moved from version.h to | ||
64 | # utsrelease.h in order to avoid recompiling a kernel every time a localversion | ||
65 | # changed. Since the our headers are static and we're not compiling an | ||
66 | # actual kernel, re-adding UTS_RELEASE does't hurt, and it allows uclibc to | ||
67 | # compile with kernel headers that work with EABI on ARM | ||
68 | echo '#define UTS_RELEASE "2.6.18"' >> ${STAGING_INCDIR}/linux/version.h | ||
69 | } | ||
70 | |||
71 | do_stage_append_nylon () { | ||
72 | cp -pPR include/asm-${ARCH}/* ${STAGING_INCDIR}/asm/ | ||
73 | cp -pPR include/asm-${ARCH}/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/ | ||
74 | cp -pPR include/linux/* ${STAGING_INCDIR}/linux/ | ||
75 | cp -pPR include/linux/* ${CROSS_DIR}/${TARGET_SYS}/include/linux/ | ||
76 | } | ||
77 | |||