mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
f7d80257af
commit
8dcb8da9e3
|
@ -131,6 +131,8 @@ autotools_postconfigure(){
|
|||
|
||||
EXTRACONFFUNCS ??= ""
|
||||
|
||||
EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}"
|
||||
|
||||
do_configure[prefuncs] += "autotools_preconfigure autotools_copy_aclocals ${EXTRACONFFUNCS}"
|
||||
do_configure[postfuncs] += "autotools_postconfigure"
|
||||
|
||||
|
|
|
@ -431,12 +431,6 @@ python () {
|
|||
appendVar('RDEPENDS_${PN}', extrardeps)
|
||||
appendVar('PACKAGECONFIG_CONFARGS', extraconf)
|
||||
|
||||
# TODO: once all recipes/classes abusing EXTRA_OECONF
|
||||
# to get PACKAGECONFIG options are fixed to use PACKAGECONFIG_CONFARGS
|
||||
# move this appendVar to autotools.bbclass.
|
||||
if not bb.data.inherits_class('cmake', d):
|
||||
appendVar('EXTRA_OECONF', extraconf)
|
||||
|
||||
pn = d.getVar('PN', True)
|
||||
license = d.getVar('LICENSE', True)
|
||||
if license == "INVALID":
|
||||
|
|
Loading…
Reference in New Issue
Block a user