diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-16 14:57:37 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-08-16 22:53:54 -0700 |
commit | dc78cdb318671862c5cd15711364c1c4462d9ece (patch) | |
tree | 07595f2f9d8eaffef52698c59836198b870f4aec /meta/classes/rootfs_rpm.bbclass | |
parent | e744d4e2d33d914b2ca31be2d4eadab9fbcc3251 (diff) | |
download | openembedded-core-dc78cdb318671862c5cd15711364c1c4462d9ece.tar.gz openembedded-core-dc78cdb318671862c5cd15711364c1c4462d9ece.tar.bz2 openembedded-core-dc78cdb318671862c5cd15711364c1c4462d9ece.zip |
rootfs_rpm: Fix DEFAULTTUNE setting in multilib case
"virtclass-multilib" is set to OVERRIDES in multilib.bbclass, remove the
duplicated settings here.
Besides, DEFAULTTUNE has overrided and it can be directly used.
[YOCTO #1368]
CC: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 7c06064e72..7f24b9cfbd 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -215,10 +215,6 @@ python () { eext = ext.split(':') if len(eext) > 1 and eext[0] == 'multilib': localdata = bb.data.createCopy(d) - overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + eext[1] - localdata.setVar("OVERRIDES", overrides) - # TEMP: OVERRIDES isn't working right - localdata.setVar("DEFAULTTUNE", localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) or "") 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) |