diff options
author | Michael Clark <mjc@sifive.com> | 2018-03-03 01:32:59 +1300 |
---|---|---|
committer | Michael Clark <mjc@sifive.com> | 2018-03-07 08:30:28 +1300 |
commit | 25fa194b7b11901561532e435beb83d046899f7a (patch) | |
tree | 361c143f38183b884bcac16e30d69791c3c40492 /default-configs | |
parent | a7240d1e4aac4cd4542d68f3cc722939550da6af (diff) | |
download | qemu-25fa194b7b11901561532e435beb83d046899f7a.zip qemu-25fa194b7b11901561532e435beb83d046899f7a.tar.gz qemu-25fa194b7b11901561532e435beb83d046899f7a.tar.bz2 |
RISC-V Build Infrastructure
This adds RISC-V into the build system enabling the following targets:
- riscv32-softmmu
- riscv64-softmmu
- riscv32-linux-user
- riscv64-linux-user
This adds defaults configs for RISC-V, enables the build for the RISC-V
CPU core, hardware, and Linux User Emulation. The 'qemu-binfmt-conf.sh'
script is updated to add the RISC-V ELF magic.
Expected checkpatch errors for consistency reasons:
ERROR: line over 90 characters
FILE: scripts/qemu-binfmt-conf.sh
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Sagar Karandikar <sagark@eecs.berkeley.edu>
Signed-off-by: Michael Clark <mjc@sifive.com>
Diffstat (limited to 'default-configs')
-rw-r--r-- | default-configs/riscv32-linux-user.mak | 1 | ||||
-rw-r--r-- | default-configs/riscv32-softmmu.mak | 4 | ||||
-rw-r--r-- | default-configs/riscv64-linux-user.mak | 1 | ||||
-rw-r--r-- | default-configs/riscv64-softmmu.mak | 4 |
4 files changed, 10 insertions, 0 deletions
diff --git a/default-configs/riscv32-linux-user.mak b/default-configs/riscv32-linux-user.mak new file mode 100644 index 0000000..865b362 --- /dev/null +++ b/default-configs/riscv32-linux-user.mak @@ -0,0 +1 @@ +# Default configuration for riscv-linux-user diff --git a/default-configs/riscv32-softmmu.mak b/default-configs/riscv32-softmmu.mak new file mode 100644 index 0000000..f9e7421 --- /dev/null +++ b/default-configs/riscv32-softmmu.mak @@ -0,0 +1,4 @@ +# Default configuration for riscv-softmmu + +CONFIG_SERIAL=y +CONFIG_VIRTIO=y diff --git a/default-configs/riscv64-linux-user.mak b/default-configs/riscv64-linux-user.mak new file mode 100644 index 0000000..865b362 --- /dev/null +++ b/default-configs/riscv64-linux-user.mak @@ -0,0 +1 @@ +# Default configuration for riscv-linux-user diff --git a/default-configs/riscv64-softmmu.mak b/default-configs/riscv64-softmmu.mak new file mode 100644 index 0000000..f9e7421 --- /dev/null +++ b/default-configs/riscv64-softmmu.mak @@ -0,0 +1,4 @@ +# Default configuration for riscv-softmmu + +CONFIG_SERIAL=y +CONFIG_VIRTIO=y |