The cmake class uses EXTRA_OECMAKE to adjust the cmake configuration. This patch adds support for this, if the cmake class is used by the recipe.
Signed-off-by: Philip Balister <[email protected]> --- meta/classes/base.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f7b6fb8..bedbc4d 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -467,7 +467,10 @@ python () { extraconf.append(items[1]) appendVar('DEPENDS', extradeps) appendVar('RDEPENDS_${PN}', extrardeps) - appendVar('EXTRA_OECONF', extraconf) + if bb.data.inherits_class('cmake', d): + appendVar('EXTRA_OECMAKE', extraconf) + else: + appendVar('EXTRA_OECONF', extraconf) # If PRINC is set, try and increase the PR value by the amount specified princ = d.getVar('PRINC', True) -- 1.7.11.7 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
