diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-10-05 17:50:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:33:21 +0000 |
commit | fa1df8b3801b89bef19690bbf0add432af49d130 (patch) | |
tree | 98efeecb880875a198e8127da647f22dcf71278d /scripts/runqemu | |
parent | 0bdf5c949f4a76222432fe6a4b8bee1e7d937314 (diff) | |
download | poky-fa1df8b3801b89bef19690bbf0add432af49d130.tar.gz |
runqemu: Add riscv support for qemu machines
(From OE-Core rev: bfdebfdfc974220fa2893eddbfc966bbc0761d4c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index df76270904..9dc6a05c57 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -1077,6 +1077,10 @@ class BaseConfig(object): | |||
1077 | qbsys = 'mipsel' | 1077 | qbsys = 'mipsel' |
1078 | elif mach == 'qemumips64el': | 1078 | elif mach == 'qemumips64el': |
1079 | qbsys = 'mips64el' | 1079 | qbsys = 'mips64el' |
1080 | elif mach == 'qemuriscv64': | ||
1081 | qbsys = 'riscv64' | ||
1082 | elif mach == 'qemuriscv32': | ||
1083 | qbsys = 'riscv32' | ||
1080 | 1084 | ||
1081 | return 'qemu-system-%s' % qbsys | 1085 | return 'qemu-system-%s' % qbsys |
1082 | 1086 | ||