summaryrefslogtreecommitdiffstats
path: root/meta/classes/qemu.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-19 11:13:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-22 15:56:14 +0000
commit97b5b17cb1e589c592c505651608094ec33767cf (patch)
tree18d1dd0cd4f07e928fe202444f8fe22a4e96e3c1 /meta/classes/qemu.bbclass
parent9f225cf966b8a96775d74f41423206d157bce2e3 (diff)
downloadpoky-97b5b17cb1e589c592c505651608094ec33767cf.tar.gz
qemu: Enable ppc64le support for qemu-usermode
glibc defines minimum kernel needed to be 3.10.0 for LE ppc64 (From OE-Core rev: c1c296a42920af6725706bdea8e61b8c4f5f14a8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/qemu.bbclass')
-rw-r--r--meta/classes/qemu.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index f5c5780125..55bdff816b 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -16,6 +16,8 @@ def qemu_target_binary(data):
16 target_arch = "ppc" 16 target_arch = "ppc"
17 elif target_arch == "powerpc64": 17 elif target_arch == "powerpc64":
18 target_arch = "ppc64" 18 target_arch = "ppc64"
19 elif target_arch == "powerpc64le":
20 target_arch = "ppc64le"
19 21
20 return "qemu-" + target_arch 22 return "qemu-" + target_arch
21 23
@@ -62,3 +64,4 @@ QEMU_EXTRAOPTIONS_ppc64e5500 = " -cpu e500mc"
62QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e500mc" 64QEMU_EXTRAOPTIONS_ppce6500 = " -cpu e500mc"
63QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e500mc" 65QEMU_EXTRAOPTIONS_ppc64e6500 = " -cpu e500mc"
64QEMU_EXTRAOPTIONS_ppc7400 = " -cpu 7400" 66QEMU_EXTRAOPTIONS_ppc7400 = " -cpu 7400"
67QEMU_EXTRAOPTIONS_powerpc64le = " -cpu POWER8"