diff options
-rw-r--r-- | meta/classes/qemu.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index 9cefabbf84..cd2e32309d 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass | |||
@@ -4,7 +4,9 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | def qemu_target_binary(data): | 6 | def qemu_target_binary(data): |
7 | target_arch = data.getVar("TARGET_ARCH", True) | 7 | target_arch = data.getVar("TARGET_ARCH_MULTILIB_ORIGINAL", True) |
8 | if not target_arch: | ||
9 | target_arch = data.getVar("TARGET_ARCH", True) | ||
8 | if target_arch in ("i486", "i586", "i686"): | 10 | if target_arch in ("i486", "i586", "i686"): |
9 | target_arch = "i386" | 11 | target_arch = "i386" |
10 | elif target_arch == "powerpc": | 12 | elif target_arch == "powerpc": |