aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-10-19 12:07:25 -0700
committerKhem Raj <raj.khem@gmail.com>2010-10-19 21:08:40 -0700
commit48d7b34698dbebaf55e1ccf07d78c065f99ea46e (patch)
tree3126812ad334478dbba42d5639bf2fe30b4f7bd8 /classes
parenta1d962b3b900c8c5f5ac089c495f3ecec1bee78a (diff)
downloadopenembedded-48d7b34698dbebaf55e1ccf07d78c065f99ea46e.tar.gz
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@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/autotools.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index ce4f66a498..a634201fe1 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"