Patchwork 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.

login
register
mail settings
Submitter Martin Ertsaas
Date July 19, 2012, 9:56 a.m.
Message ID <1342691767-3992-1-git-send-email-mertsas@cisco.com>
Download mbox | patch
Permalink /patch/32487/
State Not Applicable
Headers show

Comments

Martin Ertsaas - July 19, 2012, 9:56 a.m.
Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
---
 meta/classes/toolchain-scripts.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Martin Jansa - July 19, 2012, 10:03 a.m.
On Thu, Jul 19, 2012 at 11:56:07AM +0200, Martin Ertsaas wrote:
> Signed-off-by: Martin Ertsaas <mertsas@cisco.com>

This belongs to oe-core ML

> ---
>  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 bf37ec9..8f7c644 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
> -- 
> 1.7.8.6
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index bf37ec9..8f7c644 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