aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-10-05 17:50:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 13:44:55 +0000
commitbfdebfdfc974220fa2893eddbfc966bbc0761d4c (patch)
tree2daccea27ec07647030a8ee541d5ca1a6d398a26 /scripts
parentac254fcc57cb044974445d89ce28a412c656e527 (diff)
downloadopenembedded-core-bfdebfdfc974220fa2893eddbfc966bbc0761d4c.zip
openembedded-core-bfdebfdfc974220fa2893eddbfc966bbc0761d4c.tar.gz
openembedded-core-bfdebfdfc974220fa2893eddbfc966bbc0761d4c.tar.bz2
runqemu: Add riscv support for qemu machines
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index df76270..9dc6a05 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1077,6 +1077,10 @@ class BaseConfig(object):
qbsys = 'mipsel'
elif mach == 'qemumips64el':
qbsys = 'mips64el'
+ elif mach == 'qemuriscv64':
+ qbsys = 'riscv64'
+ elif mach == 'qemuriscv32':
+ qbsys = 'riscv32'
return 'qemu-system-%s' % qbsys