summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-12 16:28:59 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-12 16:28:59 +0000
commit755bf7803826ef1d7139fcd776f342e7c08a9014 (patch)
treeef7179982e16e7e0a15c55059f832265b81f7e5b
parentef0256ead0816f361f1a6fe774b2bb3a48a91f82 (diff)
downloadpoky-755bf7803826ef1d7139fcd776f342e7c08a9014.tar.gz
meta-toolchain: Fix some paths and remove unneeded header file manipulation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3129 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/meta/meta-toolchain.bb11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index b6705e0a53..2f913eaefb 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -51,19 +51,14 @@ do_populate_sdk() {
51 fi 51 fi
52 done 52 done
53 53
54 mv ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/gcc* ${SDK_OUTPUT}/${prefix}/lib 54 mv ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/gcc ${SDK_OUTPUT}/${prefix}/lib
55
56 cp -pPR ${TMPDIR}/cross/${TARGET_SYS}/include/linux/ ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/
57 cp -pPR ${TMPDIR}/cross/${TARGET_SYS}/include/asm/ ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/
58 chmod -R a+r ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/
59 find ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/ -type d | xargs chmod +x
60 55
61 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libpthread.so 56 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libpthread.so
62 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libc.so 57 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libc.so
63 58
64 # remove unwanted housekeeping files 59 # remove unwanted housekeeping files
65 mv ${SDK_OUTPUT}${libdir}/../${TARGET_SYS}/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status 60 mv ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status
66 rm -Rf ${SDK_OUTPUT}${libdir}/ipkg 61 rm -Rf ${SDK_OUTPUT}${prefix}/${TARGET_SYS}/lib/ipkg
67 mv ${SDK_OUTPUT}/usr/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status-host 62 mv ${SDK_OUTPUT}/usr/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status-host
68 rm -Rf ${SDK_OUTPUT}/usr/lib 63 rm -Rf ${SDK_OUTPUT}/usr/lib
69 64