diff options
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 583d76b0f3..138dd27a6e 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -76,4 +76,9 @@ python __anonymous () { | |||
76 | multilib_map_variable("PACKAGES_DYNAMIC", variant, d) | 76 | multilib_map_variable("PACKAGES_DYNAMIC", variant, d) |
77 | multilib_map_variable("PACKAGE_INSTALL", variant, d) | 77 | multilib_map_variable("PACKAGE_INSTALL", variant, d) |
78 | multilib_map_variable("INITSCRIPT_PACKAGES", variant, d) | 78 | multilib_map_variable("INITSCRIPT_PACKAGES", variant, d) |
79 | |||
80 | package_arch = d.getVar("PACKAGE_ARCH", True) | ||
81 | machine_arch = d.getVar("MACHINE_ARCH", True) | ||
82 | if package_arch == machine_arch: | ||
83 | d.setVar("PACKAGE_ARCH", variant + "_" + package_arch) | ||
79 | } | 84 | } |