binutils.inc: Dont filter out all --with-sysroot strings
authorKhem Raj <raj.khem@gmail.com>
Wed, 20 Oct 2010 15:20:47 +0000 (08:20 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 20 Oct 2010 15:23:36 +0000 (08:23 -0700)
* Binutils.inc is included into cross recipes because the
  cross recipes include target recipe. We only need to remove
  --with-sysroot full word only and not --with-systoot=...

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

index 4e7f466..96e2041 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)}"
+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"