From 5824293de37919e89f60192836997281933e23d6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 13 Jun 2014 14:09:37 +0100 Subject: bitbake.conf/qemu: Move QEMU_OPTIONS to qemu.bbclass The QEMU_OPTIONS variables belong in qemu.bbclass so move them there. The only users of them inherit qemu.bbclass. There is no point in pushing these into every recipe. Signed-off-by: Richard Purdie --- meta/classes/qemu.bbclass | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index 3d437b0e45..abee8aaa7c 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass @@ -33,3 +33,15 @@ def qemu_run_binary(data, rootfs_path, binary): return "PSEUDO_UNLOAD=1 " + qemu_binary + " -L " + rootfs_path\ + " -E LD_LIBRARY_PATH=" + libdir + ":" + base_libdir + " "\ + rootfs_path + binary + +QEMU_OPTIONS = "" +QEMU_OPTIONS_iwmmxt = "-cpu pxa270-c5" +QEMU_OPTIONS_armv6 = "-cpu arm1136" +QEMU_OPTIONS_armv7a = "-cpu cortex-a8" +QEMU_OPTIONS_e500v2 = "-cpu e500v2" +QEMU_OPTIONS_e500mc = "-cpu e500mc" +QEMU_OPTIONS_e5500 = "-cpu e5500" +QEMU_OPTIONS_e5500-64b = "-cpu e5500" +QEMU_OPTIONS_e6500 = "-cpu e6500" +QEMU_OPTIONS_e6500-64b = "-cpu e6500" +QEMU_OPTIONS_ppc7400 = "-cpu 7400" -- cgit v1.2.3