summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-04-26 11:04:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-22 17:13:58 +0100
commit3a58336bec16e1dd3c8e84c05dcf9a4ed9fcdbfe (patch)
tree9595b0a8b4d713fdfbde38519f61252c3d15abeb /meta
parent910f07be6d262a570c2affe4228d3b31fea23a33 (diff)
downloadpoky-3a58336bec16e1dd3c8e84c05dcf9a4ed9fcdbfe.tar.gz
Revert "qemu.bbclass: Use the correct qemu binary in multilib cases"
This reverts commit 9f5a6f89d9f4a6c7bed3b163e6eaa764d762f523. The reason for reverting this is: * qemuwrapper has now a fallback method; * when using multilib, calling qemu_target_binary from recipes would always point to the qemu binary corresponding to the machine architecture. Hence, postinstalls needing to use qemu would call the wrong qemu user emulation binary; (From OE-Core master rev: 15408466515cec7cbb4c394aa203c87b6165f884) (From OE-Core rev: e57f9b992192f7d7877fbb69af764357a21fce70) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/qemu.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index 930c6b082e..3d437b0e45 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -4,9 +4,7 @@
4# 4#
5 5
6def qemu_target_binary(data): 6def qemu_target_binary(data):
7 target_arch = data.getVar("TARGET_ARCH_MULTILIB_ORIGINAL", True) 7 target_arch = data.getVar("TARGET_ARCH", True)
8 if not target_arch:
9 target_arch = data.getVar("TARGET_ARCH", True)
10 if target_arch in ("i486", "i586", "i686"): 8 if target_arch in ("i486", "i586", "i686"):
11 target_arch = "i386" 9 target_arch = "i386"
12 elif target_arch == "powerpc": 10 elif target_arch == "powerpc":