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).

> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  Makefile                                      | 23 +----
>  configure                                     | 93 ++++---------------
>  default-configs/targets/aarch64-softmmu.mak   |  1 +
>  default-configs/targets/arm-softmmu.mak       |  1 +
>  .../targets/microblaze-softmmu.mak            |  1 +
>  .../targets/microblazeel-softmmu.mak          |  1 +
>  default-configs/targets/mips64el-softmmu.mak  |  1 +
>  default-configs/targets/ppc-softmmu.mak       |  1 +
>  default-configs/targets/ppc64-softmmu.mak     |  1 +
>  default-configs/targets/riscv32-softmmu.mak   |  1 +
>  default-configs/targets/riscv64-softmmu.mak   |  1 +
>  default-configs/targets/rx-softmmu.mak        |  1 +
>  meson.build                                   | 61 ++++++++++--
>  meson_options.txt                             |  3 +
>  14 files changed, 84 insertions(+), 106 deletions(-)


Reply via email to