On 5/12/21 9:45 AM, Paolo Bonzini wrote: > On 11/05/21 17:53, Philippe Mathieu-Daudé wrote: >> Since commit fea35ca4b8e ("ppc/spapr: Receive and store device >> tree blob from SLOF") the pSeries machine depends on the libfdt >> fdt_check_full() call, which is available in libfdt v1.4.7. >> >> Add the corresponding Kconfig dependency. >> >> Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > > This is not the only one though. In particular, there should be a > "depends on" also for MIPS_BOSTON (hw/mips), E500 (hw/ppc), POWERNV, > PPC440 (hw/ppc), (hw/ppc), SAM460EX (hw/ppc), VIRTEX (hw/ppc), RX_GDBSIM > (hw/rx), XTENSA_XTFPGA (hw/xtensa). > > Once you do this, TARGET_NEED_FDT can go away for PPC, MIPS and. The > remaining ones use fdt functions in hw/*/boot.c so they need libfdt > unconditionally RX (and TARGET_NEED_FDT should be added to > default-configs/targets/nios2-softmmu.mak for the same reason).
Got it, thanks!