[oe-commits] Philip Balister : base.bblass : Add support for cmake to PACKAGECONFIG.
git at git.openembedded.org
git at git.openembedded.org
Fri Jan 25 12:46:26 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: d8c0ce5a4a27c8aa1d07fc15d6e000af725a51e6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d8c0ce5a4a27c8aa1d07fc15d6e000af725a51e6
Author: Philip Balister <philip at balister.org>
Date: Tue Jan 22 09:57:02 2013 -0500
base.bblass : Add support for cmake to PACKAGECONFIG.
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 <philip at balister.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/base.bbclass | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index dafded3..4662d3b 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -469,7 +469,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)
More information about the Openembedded-commits
mailing list