summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2011-10-10 14:13:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:13 +0100
commit412a2dc2f99562c8ba0e2f1afa2a4955fc1c4938 (patch)
tree940f2dc63398064d19b44d36adda56c3682fb249 /meta/classes/autotools.bbclass
parent4eae8b311e0e8eb291195e426375b2d12af349f2 (diff)
downloadpoky-412a2dc2f99562c8ba0e2f1afa2a4955fc1c4938.tar.gz
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}"' (From OE-Core rev: 38a394e7ffedccfabda085c97add8944718943c2) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass6
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"
71 71
72oe_runconf () { 72oe_runconf () {
73 if [ -x ${S}/configure ] ; then 73 if [ -x ${S}/configure ] ; then
74 cfgcmd="${S}/configure \ 74 bbnote "Running ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
75 ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" 75 ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed"
76 bbnote "Running $cfgcmd..."
77 $cfgcmd || bbfatal "oe_runconf failed"
78 else 76 else
79 bbfatal "no configure script found" 77 bbfatal "no configure script found"
80 fi 78 fi