summaryrefslogtreecommitdiff
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-25 00:41:45 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-25 00:41:45 +0100
commit3a526152d9ef5996543915eaa126fc11f1df94df (patch)
tree6f26e42090509b3105e42cdbad1822f1cf90f0ad /meta/packages/gcc
parentae2836692f7e5ed96fdf6d5284ec3bdfaca024ab (diff)
downloadopenembedded-core-3a526152d9ef5996543915eaa126fc11f1df94df.tar.gz
openembedded-core-3a526152d9ef5996543915eaa126fc11f1df94df.tar.bz2
openembedded-core-3a526152d9ef5996543915eaa126fc11f1df94df.zip
gcc-runtime: Fix stashed libs path for nativesdk
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r--meta/packages/gcc/gcc-configure-runtime.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-configure-runtime.inc b/meta/packages/gcc/gcc-configure-runtime.inc
index 96bf9e48e4..f9ad61d129 100644
--- a/meta/packages/gcc/gcc-configure-runtime.inc
+++ b/meta/packages/gcc/gcc-configure-runtime.inc
@@ -31,9 +31,11 @@ do_compile () {
}
do_install () {
+ target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##`
+
# Install libgcc from our gcc-cross saved data
install -d ${D}${base_libdir} ${D}${libdir}
- cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-${MULTIMACH_TARGET_SYS}/* ${D}
+ cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D}
for d in ${RUNTIMETARGET}; do
cd ${B}/$d/