diff options
Diffstat (limited to 'meta')
-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/ |