diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2016-08-30 16:19:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 09:58:39 +0100 |
commit | 8dcb8da9e31ae74342cc00edd447311334e28c20 (patch) | |
tree | 9e50c17aad0db92999193ad28d8ad5c503600b59 /meta/classes/autotools.bbclass | |
parent | f7d80257afcfefdc85b6745328f2d12b957a848b (diff) | |
download | poky-8dcb8da9e31ae74342cc00edd447311334e28c20.tar.gz |
base, autotools: Append PACKAGECONFIG_CONFARGS to EXTRA_OECONF only in autotools.bbclass
* recipes which don't inherit autotools or cmake bbclass and want to
use the configure options from PACKAGECONFIG need to handle
PACKAGECONFIG_CONFARGS themselves.
(From OE-Core rev: c98fb5f5129e71829ffab4449b3d28082bc95ab4)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 076899cce1..47a01902d0 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -131,6 +131,8 @@ autotools_postconfigure(){ | |||
131 | 131 | ||
132 | EXTRACONFFUNCS ??= "" | 132 | EXTRACONFFUNCS ??= "" |
133 | 133 | ||
134 | EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}" | ||
135 | |||
134 | do_configure[prefuncs] += "autotools_preconfigure autotools_copy_aclocals ${EXTRACONFFUNCS}" | 136 | do_configure[prefuncs] += "autotools_preconfigure autotools_copy_aclocals ${EXTRACONFFUNCS}" |
135 | do_configure[postfuncs] += "autotools_postconfigure" | 137 | do_configure[postfuncs] += "autotools_postconfigure" |
136 | 138 | ||