Browse Source

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>
Clément Léger 1 year ago
parent
commit
cd65b5e755
1 changed files with 4 additions and 3 deletions
  1. 4 3
      package/kvmtool/Config.in

+ 4 - 3
package/kvmtool/Config.in

@@ -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