[oe] [PATCH 4/5] binutils: Update libtool macros to reflect --with-sysroot -> --with-libtool-sysroot rename

Denys Dmytriyenko denis at denix.org
Fri Oct 22 23:10:31 UTC 2010


On Thu, Oct 21, 2010 at 11:58:03PM -0700, Khem Raj wrote:
> * We dont need to filter out with-sysroot anymore
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>

> diff --git a/recipes/binutils/binutils.inc b/recipes/binutils/binutils.inc
> index 0f086f3..ab9e457 100644
> --- a/recipes/binutils/binutils.inc
> +++ b/recipes/binutils/binutils.inc
> @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
>  SECTION = "devel"
>  LICENSE = "GPL"
>  
> -INC_PR = "r12"
> +INC_PR = "r13"
>  
>  COMPATIBLE_TARGET_SYS ?= "(?!nios2)"
>  
> @@ -42,10 +42,6 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
>  
>  EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
>  		--enable-shared"
> -python __anonymous () {
> -       cfg = oe_filter_out('--with-sysroot$' , bb.data.getVar('CONFIGUREOPTS', d, 1) or "", d)
> -       bb.data.setVar('CONFIGUREOPTS', cfg, d)
> -}

Nice! That anonymous function was giving me all sorts of issues. I'm all for 
removing it, but unfortunately I already re-structured my code to work it 
around... :)

-- 
Denys

>  # This is necessary due to a bug in the binutils Makefiles
>  EXTRA_OEMAKE = "configure-build-libiberty all"
> -- 
> 1.7.1




More information about the Openembedded-devel mailing list