From patchwork Tue Jan 22 14:57:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: base.bblass : Add support for cmake to PACKAGECONFIG. Date: Tue, 22 Jan 2013 14:57:02 -0000 From: Philip Balister X-Patchwork-Id: 43191 Message-Id: <1358866622-12739-1-git-send-email-philip@balister.org> To: openembedded-core@lists.openembedded.org 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 --- 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)