PoC to have CONFIG_FDT per-machine set by Kconfig, looking at Paolo's "dtc: Convert Makefile bits to meson bits": https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg00983.html
These files shouldn't be needed: . default-configs/targets/mips64el-softmmu.mak . default-configs/targets/ppc-softmmu.mak . default-configs/targets/ppc64-softmmu.mak . default-configs/targets/rx-softmmu.mak The QEMU FTD API is used by these boot.c files, so for these it is easier to have a per-target config: . hw/arm/boot.c . hw/microblaze/boot.c . hw/nios2/boot.c . hw/riscv/boot.c Philippe Mathieu-Daudé (4): Kconfig.host: Declare FDT symbol hw/ppc: Rename FDT_PPC as FDT hw/mips/Kconfig: Let boston machine select FDT hw/rx/Kconfig: Let gdbsim machine select FDT Kconfig.host | 4 ++++ hw/mips/Kconfig | 1 + hw/ppc/Kconfig | 15 ++++++--------- hw/ppc/meson.build | 2 +- hw/rx/Kconfig | 1 + 5 files changed, 13 insertions(+), 10 deletions(-) -- 2.26.2