diff --git a/src/runtime/Makefile b/src/runtime/Makefile index 192bab185c..71c3e3ad76 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -20,6 +20,9 @@ endif ifeq ($(ARCH),aarch64) override ARCH = arm64 endif +ifeq ($(ARCH),riscv64gc) + override ARCH = riscv64 +endif ARCH_DIR = arch ARCH_FILE_SUFFIX = -options.mk diff --git a/src/runtime/arch/riscv64-options.mk b/src/runtime/arch/riscv64-options.mk new file mode 100644 index 0000000000..55ba9da804 --- /dev/null +++ b/src/runtime/arch/riscv64-options.mk @@ -0,0 +1,13 @@ +# Copyright (c) 2024 Institute of Software, CAS. +# +# SPDX-License-Identifier: Apache-2.0 +# + +# riscv64 settings + +MACHINETYPE := virt +KERNELPARAMS := +MACHINEACCELERATORS := +CPUFEATURES := + +QEMUCMD := qemu-system-riscv64