summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@nxp.com>2016-04-14 17:26:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-15 06:59:43 +0100
commit27e202f2d9114a64b67c83eb7eafeb12de5ceea7 (patch)
treed588f22bfc571ad123d66e802b0ca6513c9b2083 /meta
parent7c5823ac328eae7479c5bcf71b7cbf507a95ac6d (diff)
downloadpoky-27e202f2d9114a64b67c83eb7eafeb12de5ceea7.tar.gz
meta/classes/qemu.bbclass: set -cpu of ppce5500/ppce6500 to e500mc
The e5500 and e6500 cpu types are not supported by native qemu, set the value of -cpu to e500mc. Without this change, build will fail for packages which use qemuwrapper in compile phase due to the following error. | Unable to find CPU definition e.g. gobject-introspection (From OE-Core rev: e06c5c5447350049ebd1a6245fc2dd2608b265e5) Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/qemu.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index f3d3be832c..75739dbbff 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -52,8 +52,8 @@ QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}"
52 52
53QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500v2" 53QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500v2"
54QEMU_EXTRAOPTIONS_ppce500mc = " -cpu e500mc" 54QEMU_EXTRAOPTIONS_ppce500mc = " -cpu e500mc"
55QEMU_EXTRAOPTIONS_ppce5500 = " -cpu e5500" 55QEMU_EXTRAOPTIONS_ppce5500 = " -cpu e500mc"
56QEMU_EXTRAOPTIONS_ppc64e5500 = " -cpu e5500" 56QEMU_EXTRAOPTIONS_ppc64e5500 = " -cpu e500mc"
57QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e6500" 57QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e500mc"
58QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e6500" 58QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e500mc"
59QEMU_EXTRAOPTIONS_ppc7400 = " -cpu 7400" 59QEMU_EXTRAOPTIONS_ppc7400 = " -cpu 7400"