]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "qemu.bbclass: Use the correct qemu binary in multilib cases"
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Fri, 26 Apr 2013 08:04:00 +0000 (11:04 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2013 13:43:53 +0000 (14:43 +0100)
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;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/qemu.bbclass

index 930c6b082e01bf66348570747d73b43cd6accbc9..3d437b0e45ba1b290d81b5b8bcaa814e2d809ba8 100644 (file)
@@ -4,9 +4,7 @@
 #
 
 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)
+    target_arch = data.getVar("TARGET_ARCH", True)
     if target_arch in ("i486", "i586", "i686"):
         target_arch = "i386"
     elif target_arch == "powerpc":