]> git.proxmox.com Git - mirror_qemu.git/commitdiff
accel/Kconfig: Add the TCG selector
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 18 Jun 2020 12:33:40 +0000 (14:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 22:02:21 +0000 (18:02 -0400)
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>
Makefile
accel/Kconfig

index ae025d41eacdbb384a26bec7de085fa0e3156cac..d4a971283ce0b233dc1bd981e8770977b60e99c5 100644 (file)
--- 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) \
index c21802bb493f881cb4c52009d37a2e7f65ee7796..2ad94a383991cf85047731748093c845d9a23905 100644 (file)
@@ -1,3 +1,6 @@
+config TCG
+    bool
+
 config KVM
     bool