mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
runtime: Enable runtime to build on riscv64
Convert Rust arch to Go arch in Makefile, and add `riscv64-options.mk` to provide definitions required for runtime to build on riscv64. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
parent
805da14634
commit
1b4dbebb1b
@ -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
|
||||
|
13
src/runtime/arch/riscv64-options.mk
Normal file
13
src/runtime/arch/riscv64-options.mk
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user