Revert "qemu.bbclass: Use the correct qemu binary in multilib cases"
This reverts commit 9f5a6f89d9
.
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 rev: 15408466515cec7cbb4c394aa203c87b6165f884)
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>
This commit is contained in:
parent
8f32a0fa03
commit
cf76b424f5
|
@ -4,8 +4,6 @@
|
|||
#
|
||||
|
||||
def qemu_target_binary(data):
|
||||
target_arch = data.getVar("TARGET_ARCH_MULTILIB_ORIGINAL", True)
|
||||
if not target_arch:
|
||||
target_arch = data.getVar("TARGET_ARCH", True)
|
||||
if target_arch in ("i486", "i586", "i686"):
|
||||
target_arch = "i386"
|
||||
|
|
Loading…
Reference in New Issue