[OE-core] [PATCH 03/10] binutils: fixes for build with an external csl toolchain

Khem Raj raj.khem at gmail.com
Sat Jan 28 20:23:49 UTC 2012


On (27/01/12 11:13), Christopher Larson wrote:
> From: Christopher Larson <chris_larson at mentor.com>
> 
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> ---
>  meta/recipes-devtools/binutils/binutils.inc |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
> index 6130ab4..e343242 100644
> --- a/meta/recipes-devtools/binutils/binutils.inc
> +++ b/meta/recipes-devtools/binutils/binutils.inc
> @@ -51,6 +51,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
>  EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
>                  --enable-install-libbfd \
>                  --enable-shared \
> +                --disable-werror \

I specifically wanted to avoid this option but I guess we have to have
it to support wide versions of gcc.

>                  ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
>  
>  EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
> @@ -113,11 +114,11 @@ do_install () {
>  	cd ${D}${bindir}
>  
>  	# Symlinks for ease of running these on the native target
> -	for p in ${TARGET_SYS}-* ; do
> +	for p in ${TARGET_PREFIX}* ; do
>  		ln -sf $p `echo $p | sed -e s,${TARGET_PREFIX},,`
>  	done
>  
> -	rm ${D}${bindir}/ar ${D}${bindir}/strings
> +	rm -f ${D}${bindir}/ar ${D}${bindir}/strings
>  
>  	oe_multilib_header bfd.h
>  }
> -- 
> 1.7.8.rc4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
-Khem




More information about the Openembedded-core mailing list