projects
/
scm
/
bb
/
tizen-distro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b4bc8
)
base.bblass : Add support for cmake to PACKAGECONFIG.
author
Philip Balister
<philip@balister.org>
Tue, 22 Jan 2013 14:57:02 +0000
(09:57 -0500)
committer
Richard Purdie
<richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:42:43 +0000
(12:42 +0000)
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.
(From OE-Core rev:
d8c0ce5a4a27c8aa1d07fc15d6e000af725a51e6
)
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
patch
|
blob
|
history
diff --git
a/meta/classes/base.bbclass
b/meta/classes/base.bbclass
index
dafded3
..
4662d3b
100644
(file)
--- 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)