From c7c2baa7f1170b4921bbf7c2bb8c5e5264c1e5c8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Sep 2007 23:43:27 +0000 Subject: 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 --- meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta/packages/linux-libc-headers') 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 14ea11674..6f169f89f 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 } -- cgit v1.2.3