diff options
Diffstat (limited to 'meta/classes/qemu.bbclass')
-rw-r--r-- | meta/classes/qemu.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index c0a538036f3..0e75ac4e386 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass @@ -4,12 +4,12 @@ # def qemu_target_binary(data): - import bb + import bb - target_arch = data.getVar("TARGET_ARCH", True) - if target_arch in ("i486", "i586", "i686"): - target_arch = "i386" - elif target_arch == "powerpc": - target_arch = "ppc" + target_arch = data.getVar("TARGET_ARCH", True) + if target_arch in ("i486", "i586", "i686"): + target_arch = "i386" + elif target_arch == "powerpc": + target_arch = "ppc" - return "qemu-" + target_arch + return "qemu-" + target_arch |