From 1935b7ead18dbcbf459dbe7a8fd4253fbe1ed4d0 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 7 May 2024 14:13:46 +0200 Subject: 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 --- Kconfig.host | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Kconfig.host') 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 -- cgit v1.2.3