summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-03-20 15:05:39 +0000
committerRichard Purdie <richard@openedhand.com>2007-03-20 15:05:39 +0000
commit42d0243f7f44f0c449a118141eae9c01ff549f12 (patch)
treed82a298d5aaf966dcdbd9d5a4843addce704b3b4 /meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
parent2c5a437df109755bfca7f9b58c8a7ff614ecc6cd (diff)
downloadpoky-42d0243f7f44f0c449a118141eae9c01ff549f12.tar.gz
linux-libc-headers: Add a more functional procinfo.h header
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1371 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb')
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
index 1832abe56b..457f16c1f7 100644
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
+++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb
@@ -2,9 +2,10 @@ require linux-libc-headers.inc
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3INHIBIT_DEFAULT_DEPS = "1"
4DEPENDS = "unifdef-native" 4DEPENDS = "unifdef-native"
5PR = "r5" 5PR = "r6"
6 6
7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" 7SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
8 file://procinfo.h"
8 9
9S = "${WORKDIR}/linux-${PV}" 10S = "${WORKDIR}/linux-${PV}"
10 11
@@ -41,7 +42,7 @@ do_install() {
41} 42}
42 43
43do_install_append_arm() { 44do_install_append_arm() {
44 cp include/asm-arm/procinfo.h ${D}${includedir}/asm 45 cp ${WORKDIR}/procinfo.h ${D}${includedir}/asm/
45} 46}
46 47
47STAGE_TEMP="${WORKDIR}/temp-staging" 48STAGE_TEMP="${WORKDIR}/temp-staging"
@@ -53,7 +54,7 @@ do_stage () {
53 mkdir -p ${STAGE_TEMP} 54 mkdir -p ${STAGE_TEMP}
54 oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH 55 oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH
55 if [ "$ARCH" = "arm" ]; then 56 if [ "$ARCH" = "arm" ]; then
56 cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm 57 cp ${WORKDIR}/procinfo.h ${STAGE_TEMP}${includedir}/asm/
57 fi 58 fi
58 install -d ${STAGING_INCDIR} 59 install -d ${STAGING_INCDIR}
59 rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic 60 rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic