Message ID | 20200316120049.11225-7-philmd@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | accel: Allow targets to use Kconfig, disable semihosting by default | expand |
On 3/16/20 5:00 AM, Philippe Mathieu-Daudé wrote: > Move the accel selectors from the global Kconfig.host to their > own Kconfig file. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > --- > Makefile | 1 + > Kconfig.host | 7 ------- > accel/Kconfig | 6 ++++++ > 3 files changed, 7 insertions(+), 7 deletions(-) > create mode 100644 accel/Kconfig Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/Makefile b/Makefile index d83a94bc53..d1e2ec10e7 100644 --- a/Makefile +++ b/Makefile @@ -419,6 +419,7 @@ MINIKCONF_ARGS = \ CONFIG_PVRDMA=$(CONFIG_PVRDMA) MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \ + $(SRC_PATH)/accel/Kconfig \ $(SRC_PATH)/hw/Kconfig MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \ $(wildcard $(SRC_PATH)/hw/*/Kconfig) diff --git a/Kconfig.host b/Kconfig.host index 55136e037d..a6d871c399 100644 --- a/Kconfig.host +++ b/Kconfig.host @@ -2,9 +2,6 @@ # down to Kconfig. See also MINIKCONF_ARGS in the Makefile: # these two need to be kept in sync. -config KVM - bool - config LINUX bool @@ -31,10 +28,6 @@ config VHOST_KERNEL bool select VHOST -config XEN - bool - select FSDEV_9P if VIRTFS - config VIRTFS bool diff --git a/accel/Kconfig b/accel/Kconfig new file mode 100644 index 0000000000..c21802bb49 --- /dev/null +++ b/accel/Kconfig @@ -0,0 +1,6 @@ +config KVM + bool + +config XEN + bool + select FSDEV_9P if VIRTFS
Move the accel selectors from the global Kconfig.host to their own Kconfig file. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- Makefile | 1 + Kconfig.host | 7 ------- accel/Kconfig | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 accel/Kconfig