]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: override -cpu for qemu on ppc with SPE
authorKhem Raj <raj.khem@gmail.com>
Fri, 20 Jul 2012 22:55:14 +0000 (15:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Jul 2012 13:07:22 +0000 (14:07 +0100)
We use -mtune flags which lets our application have
SPE intruction in them which is a good thing but when
running qemu especially in user mode these application
wont work with default powerpc emulation. Therefore we
have to add proper -cpu option to let qemu emulate for
a given cpu.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/conf/bitbake.conf

index 1525e44b2cfbdd69378ba401054373aa264ddf08..f2d00aa3278e01d018e68fcd62734a9f6e71428f 100644 (file)
@@ -139,6 +139,10 @@ 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"
 
 ##################################################################
 # Date/time variables.