diff options
| author | Christopher Larson <kergoth@gmail.com> | 2011-10-10 14:13:05 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:38:00 +0000 |
| commit | f7d5b31d6cb41f851a304b8ac64da24ce762d44e (patch) | |
| tree | 3673d818b27cb15e73b6e22cede530df89e4cebc | |
| parent | 35d37820993c38c336459db91d9b7beaa304cd14 (diff) | |
| download | poky-f7d5b31d6cb41f851a304b8ac64da24ce762d44e.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)
(From OE-Core rev: 5c26de72b97a670a263428ef3a1846385683feeb)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 c05ab4b0a0..5b5b8b65de 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
| @@ -68,10 +68,8 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \ | |||
| 68 | 68 | ||
| 69 | oe_runconf () { | 69 | oe_runconf () { |
| 70 | if [ -x ${S}/configure ] ; then | 70 | if [ -x ${S}/configure ] ; then |
| 71 | cfgcmd="${S}/configure \ | 71 | bbnote "Running ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" |
| 72 | ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" | 72 | ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed" |
| 73 | bbnote "Running $cfgcmd..." | ||
| 74 | $cfgcmd || bbfatal "oe_runconf failed" | ||
| 75 | else | 73 | else |
| 76 | bbfatal "no configure script found" | 74 | bbfatal "no configure script found" |
| 77 | fi | 75 | fi |
