From: Martin Ertsaas Date: Thu, 19 Jul 2012 10:00:51 +0000 (+0200) Subject: Remove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1063f45612bbad0347efe2013d61d3d5edaba1f0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git Remove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will make autotools look for arm-none-linux-gnueabi--ar instead of arm-none-linux-gnueabi-ar. (From OE-Core rev: 6434fc102e73ed81d2092e4c4ba5f9fb806545c8) Signed-off-by: Martin Ertsaas Signed-off-by: Richard Purdie --- diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index e5e5e96a7b5..442db14a88c 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -68,8 +68,8 @@ toolchain_create_tree_env_script () { echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script - echo 'export AR=${TARGET_PREFIX}-ar' >> $script - echo 'export NM=${TARGET_PREFIX}-nm' >> $script + echo 'export AR=${TARGET_PREFIX}ar' >> $script + echo 'export NM=${TARGET_PREFIX}nm' >> $script echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script if [ "${TARGET_OS}" = "darwin8" ]; then