aboutsummaryrefslogtreecommitdiff
path: root/docs/devel/kconfig.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/devel/kconfig.rst')
-rw-r--r--docs/devel/kconfig.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/devel/kconfig.rst b/docs/devel/kconfig.rst
index aa5042f156..69674d008a 100644
--- a/docs/devel/kconfig.rst
+++ b/docs/devel/kconfig.rst
@@ -305,7 +305,7 @@ and also listed as follows in the top-level meson.build's host_kconfig
variable::
host_kconfig = \
- ('CONFIG_TPM' in config_host ? ['CONFIG_TPM=y'] : []) + \
+ (have_tpm ? ['CONFIG_TPM=y'] : []) + \
('CONFIG_SPICE' in config_host ? ['CONFIG_SPICE=y'] : []) + \
(have_ivshmem ? ['CONFIG_IVSHMEM=y'] : []) + \
...