summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorMartin Ertsaas <mertsas@cisco.com>2012-07-19 12:00:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-19 11:16:25 +0100
commit6434fc102e73ed81d2092e4c4ba5f9fb806545c8 (patch)
tree4891bfd97ed594a1141322fd04083a910d113071 /meta/classes/toolchain-scripts.bbclass
parentc8937438a7b5d2aec4ae0318f5680f3a43979259 (diff)
downloadopenembedded-core-6434fc102e73ed81d2092e4c4ba5f9fb806545c8.tar.gz
openembedded-core-6434fc102e73ed81d2092e4c4ba5f9fb806545c8.tar.bz2
openembedded-core-6434fc102e73ed81d2092e4c4ba5f9fb806545c8.zip
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.
Signed-off-by: Martin Ertsaas <mertsas@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index e5e5e96a7b..442db14a88 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