]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-libc-headers: Gross hack until gccs include paths are fixed
authorRichard Purdie <richard@openedhand.com>
Tue, 18 Sep 2007 23:43:27 +0000 (23:43 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 18 Sep 2007 23:43:27 +0000 (23:43 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2760 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb

index 14ea11674fb397cced07237e2c1de83e2ee09a8a..6f169f89fc5368100bea58d6a090ce2b370f6ec9 100644 (file)
@@ -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
 }