diff options
author | Richard Purdie <richard@openedhand.com> | 2007-03-17 09:49:02 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-03-17 09:49:02 +0000 |
commit | 87101356ff05cc7d06e10fe6f96464b17a3ee65c (patch) | |
tree | 624ac04f701f65d42b49bd340e315ebfe9e4646e /meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb | |
parent | a6cc8ec3090b8716847b124f740c50f4fed2f3af (diff) | |
download | poky-87101356ff05cc7d06e10fe6f96464b17a3ee65c.tar.gz |
linux-libc-headers: Switch to 2.6.18+2.6.19-rc1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1364 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb')
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb new file mode 100644 index 0000000000..c4125ee75a --- /dev/null +++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | require linux-libc-headers.inc | ||
2 | |||
3 | DEFAULT_PREFERENCE = "-1" | ||
4 | INHIBIT_DEFAULT_DEPS = "1" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | ${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \ | ||
8 | file://arm-procinfo-hwcap.patch;patch=1 \ | ||
9 | file://arm-unistd-syscall.patch;patch=1 \ | ||
10 | file://linux-err.patch;patch=1 \ | ||
11 | " | ||
12 | |||
13 | S = "${WORKDIR}/linux-2.6.19-rc1" | ||
14 | |||
15 | set_arch() { | ||
16 | case ${TARGET_ARCH} in | ||
17 | alpha*) ARCH=alpha ;; | ||
18 | arm*) ARCH=arm ;; | ||
19 | cris*) ARCH=cris ;; | ||
20 | hppa*) ARCH=parisc ;; | ||
21 | i*86*) ARCH=i386 ;; | ||
22 | ia64*) ARCH=ia64 ;; | ||
23 | mips*) ARCH=mips ;; | ||
24 | m68k*) ARCH=m68k ;; | ||
25 | powerpc*) ARCH=powerpc ;; | ||
26 | s390*) ARCH=s390 ;; | ||
27 | sh*) ARCH=sh ;; | ||
28 | sparc64*) ARCH=sparc64 ;; | ||
29 | sparc*) ARCH=sparc ;; | ||
30 | x86_64*) ARCH=x86_64 ;; | ||
31 | esac | ||
32 | } | ||
33 | |||
34 | do_install() { | ||
35 | set_arch | ||
36 | install -d ${D}${includedir} | ||
37 | cp -pfLR ${S}${includedir}/linux ${D}${includedir}/ | ||
38 | cp -pfLR ${S}${includedir}/asm-${ARCH} ${D}${includedir}/asm | ||
39 | cp -pfLR ${S}${includedir}/asm-generic ${D}${includedir}/ | ||
40 | } | ||
41 | |||
42 | do_stage () { | ||
43 | set_arch | ||
44 | install -d ${STAGING_INCDIR} | ||
45 | rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic | ||
46 | cp -pfLR ${S}${includedir}/linux ${STAGING_INCDIR}/ | ||
47 | cp -pfLR ${S}${includedir}/asm-${ARCH} ${STAGING_INCDIR}/asm | ||
48 | cp -pfLR ${S}${includedir}/asm-generic ${STAGING_INCDIR}/ | ||
49 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux | ||
50 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm | ||
51 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic | ||
52 | install -d ${CROSS_DIR}/${TARGET_SYS}/include | ||
53 | cp -pfLR ${S}${includedir}/linux ${CROSS_DIR}/${TARGET_SYS}/include/ | ||
54 | cp -pfLR ${S}${includedir}/asm-${ARCH} ${CROSS_DIR}/${TARGET_SYS}/include/asm | ||
55 | cp -pfLR ${S}${includedir}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/ | ||
56 | } | ||