summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-06-18 14:33:40 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-10 18:02:21 -0400
commit96df0fdd7f14107c1fb223742340c76669bcc9eb (patch)
treecba900245d8e431e7a172e5d073f5f2e5bc52621
parent06e89e13be25ef48196cb8ff40e9aeb3bf72f86b (diff)
downloadfocaccia-qemu-96df0fdd7f14107c1fb223742340c76669bcc9eb.tar.gz
focaccia-qemu-96df0fdd7f14107c1fb223742340c76669bcc9eb.zip
accel/Kconfig: Add the TCG selector
Expose the CONFIG_TCG selector to let minikconf.py uses it.

When building with --disable-tcg build, this helps to deselect
devices that are TCG-dependent.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--Makefile1
-rw-r--r--accel/Kconfig3
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ae025d41ea..d4a971283c 100644
--- a/Makefile
+++ b/Makefile
@@ -405,6 +405,7 @@ endif
 MINIKCONF_ARGS = \
     $(CONFIG_MINIKCONF_MODE) \
     $@ $*/config-devices.mak.d $< $(MINIKCONF_INPUTS) \
+    CONFIG_TCG=$(CONFIG_TCG) \
     CONFIG_KVM=$(CONFIG_KVM) \
     CONFIG_SPICE=$(CONFIG_SPICE) \
     CONFIG_IVSHMEM=$(CONFIG_IVSHMEM) \
diff --git a/accel/Kconfig b/accel/Kconfig
index c21802bb49..2ad94a3839 100644
--- a/accel/Kconfig
+++ b/accel/Kconfig
@@ -1,3 +1,6 @@
+config TCG
+    bool
+
 config KVM
     bool