From d1a7491b8fc6aba900fbaab94295ebf3d12ce209 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 25 Sep 2016 21:51:02 +0200 Subject: [PATCH] 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 --- package/xvisor/Config.in | 9 +++++++-- 1 file 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 -- 2.30.2