summaryrefslogtreecommitdiffstats
path: root/package/xvisor
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-09-25 21:51:02 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-09-25 21:51:02 +0200
commitd1a7491b8fc6aba900fbaab94295ebf3d12ce209 (patch)
treec249bd2f977d2744d793c9e918551a84234a0c6d /package/xvisor
parent78af81de59d4f2d739263a3f7c2c53cf6b859cd6 (diff)
downloadbuildroot-d1a7491b8fc6aba900fbaab94295ebf3d12ce209.tar.gz
buildroot-d1a7491b8fc6aba900fbaab94295ebf3d12ce209.zip
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>
Diffstat (limited to 'package/xvisor')
-rw-r--r--package/xvisor/Config.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/xvisor/Config.in b/package/xvisor/Config.in
index f450f6fd43..c7a3b49a6e 100644
--- a/package/xvisor/Config.in
+++ b/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
OpenPOWER on IntegriCloud