diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-targets.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-targets.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-targets.inc b/meta/recipes-devtools/qemu/qemu-targets.inc index 24f9a03948..50e5eb6796 100644 --- a/meta/recipes-devtools/qemu/qemu-targets.inc +++ b/meta/recipes-devtools/qemu/qemu-targets.inc | |||
@@ -7,6 +7,12 @@ def get_qemu_target_list(d): | |||
7 | import bb | 7 | import bb |
8 | archs = d.getVar('QEMU_TARGETS').split() | 8 | archs = d.getVar('QEMU_TARGETS').split() |
9 | tos = d.getVar('HOST_OS') | 9 | tos = d.getVar('HOST_OS') |
10 | tarch = d.getVar('HOST_ARCH') | ||
11 | # 32 bit hosts can't handle 64 bit targets | ||
12 | if "64" not in tarch: | ||
13 | for arch in archs.copy(): | ||
14 | if "64" in arch: | ||
15 | archs.remove(arch) | ||
10 | softmmuonly = "" | 16 | softmmuonly = "" |
11 | for arch in ['ppcemb', 'lm32']: | 17 | for arch in ['ppcemb', 'lm32']: |
12 | if arch in archs: | 18 | if arch in archs: |