diff options
-rw-r--r-- | meta/classes/qemu.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index 75739dbbff..f2d4d1c9e1 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass | |||
@@ -4,6 +4,11 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | def qemu_target_binary(data): | 6 | def qemu_target_binary(data): |
7 | package_arch = data.getVar("PACKAGE_ARCH", True) | ||
8 | qemu_target_binary = (data.getVar("QEMU_TARGET_BINARY_%s" % package_arch, True) or "") | ||
9 | if qemu_target_binary: | ||
10 | return qemu_target_binary | ||
11 | |||
7 | target_arch = data.getVar("TARGET_ARCH", True) | 12 | target_arch = data.getVar("TARGET_ARCH", True) |
8 | if target_arch in ("i486", "i586", "i686"): | 13 | if target_arch in ("i486", "i586", "i686"): |
9 | target_arch = "i386" | 14 | target_arch = "i386" |