From: Thomas Petazzoni Date: Sun, 25 Sep 2016 19:51:02 +0000 (+0200) Subject: xvisor: add BR2_PACKAGE_XVISOR_ARCH_SUPPORTS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1a7491b8fc6aba900fbaab94295ebf3d12ce209;p=buildroot.git 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 --- 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