diff options
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 5ac6bcadfe..dd370b263a 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -220,8 +220,8 @@ python () { | |||
220 | default_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) | 220 | default_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False) |
221 | if default_tune: | 221 | if default_tune: |
222 | localdata.setVar("DEFAULTTUNE", default_tune) | 222 | localdata.setVar("DEFAULTTUNE", default_tune) |
223 | localdata.setVar("MACHINE_ARCH", eext[1] + "_" + localdata.getVar("MACHINE_ARCH", False)) | ||
224 | package_archs = localdata.getVar("PACKAGE_ARCHS", True) or "" | 223 | package_archs = localdata.getVar("PACKAGE_ARCHS", True) or "" |
224 | package_archs = " ".join([i in "all noarch any".split() and i or eext[1]+"_"+i for i in package_archs.split()]) | ||
225 | ml_package_archs += " " + package_archs | 225 | ml_package_archs += " " + package_archs |
226 | ml_prefix_list += " " + eext[1] | 226 | ml_prefix_list += " " + eext[1] |
227 | #bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides)) | 227 | #bb.note("ML_PACKAGE_ARCHS %s %s %s" % (eext[1], localdata.getVar("PACKAGE_ARCHS", True) or "(none)", overrides)) |