package/kvmtool: enable build for riscv

kvmtool now supports riscv, enable it and select BR2_PACKAGE_DTC which
is needed to build it.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Clément Léger 2024-03-27 16:06:13 +01:00 committed by Thomas Petazzoni
parent 580f6ef46d
commit cd65b5e755

View File

@ -6,11 +6,12 @@ config BR2_PACKAGE_KVMTOOL
# Only mips big-endian seems to be supported (build breaks)
# Should work on powerpc64 but the build breaks with missing types
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
BR2_mips || BR2_x86_64
BR2_mips || BR2_x86_64 || BR2_riscv
# libfdt is only required for DT architectures...
# ...but it's not able to build for static targets
depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || BR2_armeb))
select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb
depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || \
BR2_armeb || BR2_riscv))
select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_riscv
help
kvmtool is a lightweight tool for hosting KVM guests.
As a pure virtualization tool it only supports guests using