diff options
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 135ca75fa5..7936d77b96 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -218,7 +218,9 @@ python () { | |||
218 | default_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) | 218 | default_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) |
219 | if default_tune: | 219 | if default_tune: |
220 | localdata.setVar("DEFAULTTUNE", default_tune) | 220 | localdata.setVar("DEFAULTTUNE", default_tune) |
221 | ml_package_archs += localdata.getVar("PACKAGE_ARCHS", True) or "" | 221 | localdata.setVar("MACHINE_ARCH", eext[1] + "_" + localdata.getVar("MACHINE_ARCH", False)) |
222 | package_archs = localdata.getVar("PACKAGE_ARCHS", True) or "" | ||
223 | ml_package_archs += " " + package_archs | ||
222 | #bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides)) | 224 | #bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides)) |
223 | bb.data.setVar('MULTILIB_PACKAGE_ARCHS', ml_package_archs, d) | 225 | bb.data.setVar('MULTILIB_PACKAGE_ARCHS', ml_package_archs, d) |
224 | } | 226 | } |