summaryrefslogtreecommitdiff
path: root/meta/packages/linux-libc-headers
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-18 23:43:27 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-18 23:43:27 +0000
commitc7c2baa7f1170b4921bbf7c2bb8c5e5264c1e5c8 (patch)
treed714ad21fa9f5c65926a10944385e757ef573461 /meta/packages/linux-libc-headers
parent43ad0890082e34b1d21b0b8696c604a0a5da542a (diff)
downloadopenembedded-core-c7c2baa7f1170b4921bbf7c2bb8c5e5264c1e5c8.tar.gz
openembedded-core-c7c2baa7f1170b4921bbf7c2bb8c5e5264c1e5c8.tar.bz2
openembedded-core-c7c2baa7f1170b4921bbf7c2bb8c5e5264c1e5c8.zip
linux-libc-headers: Gross hack until gccs include paths are fixed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2760 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.20.bb8
1 files changed, 8 insertions, 0 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 14ea11674f..6f169f89fc 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
@@ -61,4 +61,12 @@ do_stage () {
cp -pfLR ${STAGE_TEMP}${includedir}/linux ${STAGING_INCDIR}/
cp -pfLR ${STAGE_TEMP}${includedir}/asm ${STAGING_INCDIR}/
cp -pfLR ${STAGE_TEMP}${includedir}/asm-generic ${STAGING_INCDIR}/
+
+ rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/linux
+ rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm
+ rm -rf ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic
+ install -d ${CROSS_DIR}/${TARGET_SYS}/include
+ ln -s ${STAGING_INCDIR}/linux ${CROSS_DIR}/${TARGET_SYS}/include/linux
+ ln -s ${STAGING_INCDIR}/asm ${CROSS_DIR}/${TARGET_SYS}/include/asm
+ ln -s ${STAGING_INCDIR}/asm-generic ${CROSS_DIR}/${TARGET_SYS}/include/asm-generic
}