From 3a526152d9ef5996543915eaa126fc11f1df94df Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 25 Jul 2010 00:41:45 +0100 Subject: gcc-runtime: Fix stashed libs path for nativesdk Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-configure-runtime.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/packages/gcc/gcc-configure-runtime.inc b/meta/packages/gcc/gcc-configure-runtime.inc index 96bf9e48e..f9ad61d12 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/ -- cgit v1.2.3