generic-poky/meta/classes/qemu.bbclass
Nitin A Kamble 512d3b713c eglibc: import eglibc_2.12 recipe from OE
use http proto for svn checkout
cosmetic cleanups to metadata

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-13 23:37:30 +01:00

16 lines
342 B
Text

#
# This class contains functions for recipes that need QEMU or test for its
# existance.
#
def qemu_target_binary(data):
import bb
target_arch = bb.data.getVar("TARGET_ARCH", data, 1)
if target_arch in ("i486", "i586", "i686"):
target_arch = "i386"
elif target_arch == "powerpc":
target_arch = "ppc"
return "qemu-" + target_arch