[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] dtc: Convert Makefile bits to meson bits
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 2/4] dtc: Convert Makefile bits to meson bits |
Date: |
Mon, 5 Oct 2020 16:13:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
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 <pbonzini@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(-)
- [PATCH 0/4] Convert remaining submodules to meson, cleanup env var handling, Paolo Bonzini, 2020/10/05
- [PATCH 3/4] configure: do not clobber environment CFLAGS/CXXFLAGS/LDFLAGS, Paolo Bonzini, 2020/10/05
- [PATCH 1/4] slirp: Convert Makefile bits to meson bits, Paolo Bonzini, 2020/10/05
- [PATCH 2/4] dtc: Convert Makefile bits to meson bits, Paolo Bonzini, 2020/10/05
- Re: [PATCH 2/4] dtc: Convert Makefile bits to meson bits,
Philippe Mathieu-Daudé <=
- [PATCH 4/4] configure: consistently pass CFLAGS/CXXFLAGS/LDFLAGS to meson, Paolo Bonzini, 2020/10/05
- Re: [PATCH 0/4] Convert remaining submodules to meson, cleanup env var handling, Richard Henderson, 2020/10/05