[oe-commits] Khem Raj : binutils.inc: Filter out --with-sysroot for target binutils

git version control git at git.openembedded.org
Wed Oct 20 04:12:01 UTC 2010


Module: openembedded.git
Branch: master
Commit: f1148d26740e57cba4fe29fd78c234359868a50e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f1148d26740e57cba4fe29fd78c234359868a50e

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Oct 19 20:08:40 2010 -0700

binutils.inc: Filter out --with-sysroot for target binutils

* This is not needed but libtool 2.4 will add it so we filter
  it out here.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/binutils/binutils.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/binutils/binutils.inc b/recipes/binutils/binutils.inc
index 8589b92..4e7f466 100644
--- a/recipes/binutils/binutils.inc
+++ b/recipes/binutils/binutils.inc
@@ -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"
 





More information about the Openembedded-commits mailing list