Bladeren bron

xvisor: add BR2_PACKAGE_XVISOR_ARCH_SUPPORTS

To prepare the addition of a Config.in comment for xvisor, and avoid the
repetition of the architecture dependencies, this commits adds a new
BR2_PACKAGE_XVISOR_ARCH_SUPPORTS hidden option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 8 jaren geleden
bovenliggende
commit
d1a7491b8f
1 gewijzigde bestanden met toevoegingen van 7 en 2 verwijderingen
  1. 7 2
      package/xvisor/Config.in

+ 7 - 2
package/xvisor/Config.in

@@ -1,8 +1,13 @@
-menuconfig BR2_PACKAGE_XVISOR
-	bool "xvisor"
+config BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
+	bool
+	default y
 	depends on BR2_USE_MMU
 	depends on BR2_arm || BR2_aarch64 || BR2_x86_64
 	depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV7M
+
+menuconfig BR2_PACKAGE_XVISOR
+	bool "xvisor"
+	depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
 	help
 	  Xvisor is an open-source type-1 hypervisor, which aims at providing
 	  a monolithic, light-weight, portable, and flexible virtualization