binutils.inc: Filter out --with-sysroot for target binutils
authorKhem Raj <raj.khem@gmail.com>
Wed, 20 Oct 2010 03:08:40 +0000 (20:08 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 20 Oct 2010 04:08:41 +0000 (21:08 -0700)
* This is not needed but libtool 2.4 will add it so we filter
  it out here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/binutils/binutils.inc

index 8589b92..4e7f466 100644 (file)
@@ -42,7 +42,7 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
                --enable-shared"
-
+CONFIGUREOPTS := "${@oe_filter_out('--with-sysroot', '${CONFIGUREOPTS}', d)}"
 # This is necessary due to a bug in the binutils Makefiles
 EXTRA_OEMAKE = "configure-build-libiberty all"