]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
xvisor: add BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 25 Sep 2016 19:51:02 +0000 (21:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 25 Sep 2016 19:51:02 +0000 (21:51 +0200)
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>
package/xvisor/Config.in

index f450f6fd43bf05d648dcfaf13272f9b820364de0..c7a3b49a6ee2fb8a1e4b6aab6080ed5daf5d8329 100644 (file)
@@ -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