[oe-commits] Khem Raj : autotools.bbclass: Move --with-sysroot to CONFIGUREOPTS
git version control
git at git.openembedded.org
Wed Oct 20 04:12:01 UTC 2010
Module: openembedded.git
Branch: master
Commit: 48d7b34698dbebaf55e1ccf07d78c065f99ea46e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=48d7b34698dbebaf55e1ccf07d78c065f99ea46e
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Oct 19 12:07:25 2010 -0700
autotools.bbclass: Move --with-sysroot to CONFIGUREOPTS
* This is added to CONFIGUREOPTS so it can be filtered out
when needed. Recipes like gcc need this to be filtered
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
classes/autotools.bbclass | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index ce4f66a..a634201 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -75,12 +75,13 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
--includedir=${includedir} \
--oldincludedir=${oldincludedir} \
--infodir=${infodir} \
- --mandir=${mandir}"
+ --mandir=${mandir} \
+ ${@["","--with-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
+ "
oe_runconf () {
if [ -x ${S}/configure ] ; then
${S}/configure \
- ${@["","--with-sysroot"][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == "yes"]} \
${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"
else
oefatal "no configure script found"
More information about the Openembedded-commits
mailing list