[Qemu-devel] [PATCH v2 1/5] Kconfig: Expose CONFIG_TCG to minikconf.py

Philippe Mathieu-Daudé posted 5 patches 6 years, 2 months ago
Maintainers: Peter Maydell <peter.maydell@linaro.org>
There is a newer version of this series
[Qemu-devel] [PATCH v2 1/5] Kconfig: Expose CONFIG_TCG to minikconf.py
Posted by Philippe Mathieu-Daudé 6 years, 2 months ago
Expose the CONFIG_TCG selector to let minikconf.py uses it.

This is useful with the --disable-tcg build, to deselect
devices that are TCG-dependent.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 Kconfig.host | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Kconfig.host b/Kconfig.host
index bb6e116e2a..c7caa47dfb 100644
--- a/Kconfig.host
+++ b/Kconfig.host
@@ -2,6 +2,10 @@
 # down to Kconfig.  See also MINIKCONF_ARGS in the Makefile:
 # these two need to be kept in sync.
 
+config TCG
+    bool
+    default y
+
 config KVM
     bool
 
-- 
2.20.1


Re: [Qemu-devel] [PATCH v2 1/5] Kconfig: Expose CONFIG_TCG to minikconf.py
Posted by Thomas Huth 6 years, 2 months ago
On 03/09/2019 13.47, Philippe Mathieu-Daudé wrote:
> Expose the CONFIG_TCG selector to let minikconf.py uses it.
> 
> This is useful with the --disable-tcg build, to deselect
> devices that are TCG-dependent.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  Kconfig.host | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Kconfig.host b/Kconfig.host
> index bb6e116e2a..c7caa47dfb 100644
> --- a/Kconfig.host
> +++ b/Kconfig.host
> @@ -2,6 +2,10 @@
>  # down to Kconfig.  See also MINIKCONF_ARGS in the Makefile:
>  # these two need to be kept in sync.

Don't you also have to update ----^ MINIKCONF_ARGS in the Makefile?

> +config TCG
> +    bool
> +    default y
> +
>  config KVM
>      bool

 Thomas