summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-09-02 11:38:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-02 18:13:36 +0100
commit54306ff373e13696637b547fa1514e0ef8633248 (patch)
treef467105e62aa666348f39eb09ba70c088e968483 /meta
parent74646a2b2d7d452dfe95b08940389a686e8addcb (diff)
downloadopenembedded-core-54306ff373e13696637b547fa1514e0ef8633248.tar.gz
openembedded-core-54306ff373e13696637b547fa1514e0ef8633248.tar.bz2
openembedded-core-54306ff373e13696637b547fa1514e0ef8633248.zip
rootfs_rpm: setting DEFAULTTUNE for multilib archs
To get the MULTILIB_PACKAGE_ARCHS, we need to get the corresponding DEFAULTTUNE value. This fixes the multilib arch directory missing issue in solvedb-ml_archs.conf. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_rpm.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 7f24b9cfbd..135ca75fa5 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -215,6 +215,9 @@ python () {
eext = ext.split(':')
if len(eext) > 1 and eext[0] == 'multilib':
localdata = bb.data.createCopy(d)
+ default_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False)
+ if default_tune:
+ localdata.setVar("DEFAULTTUNE", default_tune)
ml_package_archs += localdata.getVar("PACKAGE_ARCHS", True) or ""
#bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides))
bb.data.setVar('MULTILIB_PACKAGE_ARCHS', ml_package_archs, d)