diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-25 00:41:45 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-25 00:41:45 +0100 |
commit | 3a526152d9ef5996543915eaa126fc11f1df94df (patch) | |
tree | 6f26e42090509b3105e42cdbad1822f1cf90f0ad /meta/packages/gcc | |
parent | ae2836692f7e5ed96fdf6d5284ec3bdfaca024ab (diff) | |
download | poky-3a526152d9ef5996543915eaa126fc11f1df94df.tar.gz |
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.inc | 4 |
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 () { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | do_install () { | 33 | do_install () { |
34 | target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##` | ||
35 | |||
34 | # Install libgcc from our gcc-cross saved data | 36 | # Install libgcc from our gcc-cross saved data |
35 | install -d ${D}${base_libdir} ${D}${libdir} | 37 | install -d ${D}${base_libdir} ${D}${libdir} |
36 | cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-${MULTIMACH_TARGET_SYS}/* ${D} | 38 | cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D} |
37 | 39 | ||
38 | for d in ${RUNTIMETARGET}; do | 40 | for d in ${RUNTIMETARGET}; do |
39 | cd ${B}/$d/ | 41 | cd ${B}/$d/ |