[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] dtc: Convert Makefile bits to meson bits
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 2/4] dtc: Convert Makefile bits to meson bits |
Date: |
Mon, 5 Oct 2020 16:16:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
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
- [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
- [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