On 05/10/20 16:13, Philippe Mathieu-Daudé wrote: > On 10/5/20 3:56 PM, Paolo Bonzini wrote: >> Build the library via the main meson.build just like for capstone. >> This improves the current state of affairs in that we will re-link >> the qemu executables against a changed libfdt.a, which we wouldn't >> do before-hand, and lets us remove the whole recursive make machinery. >> >> The list of targets that require FDT is now obtained from default-configs/ >> instead of being hardcoded in the configure script. > > Could this be a machine Kconfig instead of a target makevar? > (Not asking to rewrite this patch, looking if this can be > improved later).
Yes, I think that's a very good idea. I'm not sure which machines need it, but they would simply "select FDT" and meson.build can look at config_devices to list emulators that require libfdt. Paolo