Selaa lähdekoodia

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>
Philippe Mathieu-Daudé 5 vuotta sitten
vanhempi
commit
96df0fdd7f
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 1 0
      Makefile
  2. 3 0
      accel/Kconfig

+ 1 - 0
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) \

+ 3 - 0
accel/Kconfig

@@ -1,3 +1,6 @@
+config TCG
+    bool
+
 config KVM
     bool