aboutsummaryrefslogtreecommitdiff
path: root/Kconfig.host
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-05-07 14:13:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-10 15:45:15 +0200
commit1935b7ead18dbcbf459dbe7a8fd4253fbe1ed4d0 (patch)
treeb9b4ead6229ed347134b9b74cd822a0933316953 /Kconfig.host
parent7a6f3343b6f140c945b62a972b36d22efa14bdba (diff)
kconfig: allow compiling out QEMU device tree code per target
Introduce a new Kconfig symbol, CONFIG_DEVICE_TREE, that specifies whether to include the common device tree code in system/device_tree.c and to link to libfdt. For now, include it unconditionally if libfdt is available. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Kconfig.host')
-rw-r--r--Kconfig.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kconfig.host b/Kconfig.host
index f6a2a131e6..a0d4a52131 100644
--- a/Kconfig.host
+++ b/Kconfig.host
@@ -23,6 +23,10 @@ config IVSHMEM
config TPM
bool
+config FDT
+ bool
+ select DEVICE_TREE
+
config VHOST_USER
bool