aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-04-15 15:49:37 +0400
committerRoman I Khimov <khimov@altell.ru>2009-08-18 23:10:10 +0400
commitc0f50edbee1b58cdb271220adcf59336ac449c1b (patch)
treee751a4d57438fc5029d74f1ec9d77580a84b72b5
parentbf9da045669d76b8c0f31c0c38b0306edf36ec8b (diff)
downloadopenembedded-c0f50edbee1b58cdb271220adcf59336ac449c1b.tar.gz
openembedded-c0f50edbee1b58cdb271220adcf59336ac449c1b.tar.bz2
openembedded-c0f50edbee1b58cdb271220adcf59336ac449c1b.zip
linux-libc-headers 2.6.23: fix amd64 headers
Taken from http://bugs.openembedded.net/show_bug.cgi?id=1728
-rw-r--r--recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
index 95152f1b22..daaec70568 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
@@ -64,4 +64,16 @@ 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}/
+ if [ "${ARCH}" == "x86_64" ]; then
+ cp -pfLR ${STAGE_TEMP}${includedir}/asm-x86_64 ${STAGING_INCDIR}/
+ cp -pfLR ${STAGE_TEMP}${includedir}/asm-i386 ${STAGING_INCDIR}/
+ fi
+}
+
+do_stage_append_multilib () {
+ mkdir ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}
+ ln -s ../linux ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/linux
+ ln -s ../asm ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/asm
+ ln -s ../asm-generic ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/asm-generic
+ ln -s ../asm-i386 ${STAGING_INCDIR}/${TARGET_SYS_MULTILIB}/asm-i386
}