diff options
author | Martin Ertsaas <mertsas@cisco.com> | 2012-07-19 12:00:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-19 11:17:58 +0100 |
commit | 1063f45612bbad0347efe2013d61d3d5edaba1f0 (patch) | |
tree | 03eb07648ff5a87c09d71fe1c081912ff636a374 /meta/classes | |
parent | 26ace2c081ee86fa023c74dc7afccbd0a598940a (diff) | |
download | poky-1063f45612bbad0347efe2013d61d3d5edaba1f0.tar.gz |
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 <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 4 |
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 () { | |||
68 | echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script | 68 | echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script |
69 | echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script | 69 | echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script |
70 | echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script | 70 | echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script |
71 | echo 'export AR=${TARGET_PREFIX}-ar' >> $script | 71 | echo 'export AR=${TARGET_PREFIX}ar' >> $script |
72 | echo 'export NM=${TARGET_PREFIX}-nm' >> $script | 72 | echo 'export NM=${TARGET_PREFIX}nm' >> $script |
73 | echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script | 73 | echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script |
74 | echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script | 74 | echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}"' >> $script |
75 | if [ "${TARGET_OS}" = "darwin8" ]; then | 75 | if [ "${TARGET_OS}" = "darwin8" ]; then |