summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2013-01-22 09:57:02 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:42:43 +0000
commita25f99bc9bf1596a6cea4244d7e8872ecbf87ff2 (patch)
tree2a9ee1b21440b1bebb5458a0b7bb290c7fc58d12
parent8adcafc239ccb3fa9fc968140b43da90d735ce21 (diff)
downloadpoky-a25f99bc9bf1596a6cea4244d7e8872ecbf87ff2.tar.gz
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. (From OE-Core rev: d8c0ce5a4a27c8aa1d07fc15d6e000af725a51e6) Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/base.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index dafded3e42..4662d3bf64 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -469,7 +469,10 @@ python () {
469 extraconf.append(items[1]) 469 extraconf.append(items[1])
470 appendVar('DEPENDS', extradeps) 470 appendVar('DEPENDS', extradeps)
471 appendVar('RDEPENDS_${PN}', extrardeps) 471 appendVar('RDEPENDS_${PN}', extrardeps)
472 appendVar('EXTRA_OECONF', extraconf) 472 if bb.data.inherits_class('cmake', d):
473 appendVar('EXTRA_OECMAKE', extraconf)
474 else:
475 appendVar('EXTRA_OECONF', extraconf)
473 476
474 # If PRINC is set, try and increase the PR value by the amount specified 477 # If PRINC is set, try and increase the PR value by the amount specified
475 princ = d.getVar('PRINC', True) 478 princ = d.getVar('PRINC', True)