diff options
author | Christopher Larson <kergoth@gmail.com> | 2011-10-10 14:13:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-14 12:53:21 +0100 |
commit | 38a394e7ffedccfabda085c97add8944718943c2 (patch) | |
tree | 4ab0eabbf37ae0297a74612a0404296d88e16e6a /meta/classes/autotools.bbclass | |
parent | fd6c84249b7bbb5f51d829cf96cae52fe88f456c (diff) | |
download | openembedded-core-38a394e7ffedccfabda085c97add8944718943c2.tar.gz openembedded-core-38a394e7ffedccfabda085c97add8944718943c2.tar.bz2 openembedded-core-38a394e7ffedccfabda085c97add8944718943c2.zip |
autotools: fix multi-word arguments for EXTRA_OECONF
This is needed to better support things like the following (with a
multi-word BUILD_CC):
EXTRA_OECONF += '"ac_cv_prog_CC_FOR_BUILD=${BUILD_CC}"'
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 041332208e..451c7fcc1e 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -71,10 +71,8 @@ CONFIGUREOPT_DEPTRACK = "--disable-dependency-tracking" oe_runconf () { if [ -x ${S}/configure ] ; then - cfgcmd="${S}/configure \ - ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" - bbnote "Running $cfgcmd..." - $cfgcmd || bbfatal "oe_runconf failed" + bbnote "Running ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" + ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed" else bbfatal "no configure script found" fi |