mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-03 01:44:29 +00:00
runtime-rs: Enable Dragonball for x86_64 & aarch64
`USE_BUILDIN_DB` is turned on by default for architectures do not support `Dragonball`, which leads `s390x` is building `runtime-rs` with `--features dragonball` presents. Let's restrict `USE_BUILDIN_DB` to be enable only for architectures supported by `Dragonball` (namely x86_64 and aarch64 as of now). Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
@@ -84,8 +84,15 @@ HYPERVISOR_QEMU = qemu
|
||||
HYPERVISOR_CLH = cloud-hypervisor
|
||||
HYPERVISOR_REMOTE = remote
|
||||
|
||||
# When set to true, builds the built-in Dragonball hypervisor
|
||||
USE_BUILDIN_DB := true
|
||||
ARCH_SUPPORT_DB := x86_64 aarch64
|
||||
ifneq ($(filter $(ARCH),$(ARCH_SUPPORT_DB)),)
|
||||
# When set to true, builds the built-in Dragonball hypervisor
|
||||
USE_BUILDIN_DB := true
|
||||
else
|
||||
USE_BUILDIN_DB := false
|
||||
$(info Dragonball does not support ARCH $(ARCH), disabled. \
|
||||
Specify "USE_BUILDIN_DB=true" to force enable.)
|
||||
endif
|
||||
|
||||
HYPERVISOR ?= $(HYPERVISOR_DB)
|
||||
|
||||
|
Reference in New Issue
Block a user