Le 10/01/2020 à 10:17, Philippe Mathieu-Daudé a écrit :
Le ven. 10 janv. 2020 09:36, Laurent Vivier <address@hidden
<mailto:address@hidden>> a écrit :
Le 09/01/2020 à 16:39, Philippe Mathieu-Daudé a écrit :
> In some configuration (linux-user, tools) we can ignore building
> various objects (and the libfdt).
>
> Philippe Mathieu-Daudé (4):
> configure: Do not build libfdt is not required
> Makefile: Clarify all the codebase requires qom/ objects
> Makefile: Restrict system emulation and tools objects
> Makefile: Remove unhelpful comment
>
> configure | 2 ++
> Makefile.objs | 31 ++++++++++---------------------
> 2 files changed, 12 insertions(+), 21 deletions(-)
>
Did you test this with all the combinations of --[enable|disable]-tools,
--[enable|disable]-user and --[enable|disable]-system
I tested 12 of 27 because I thought some sets might overlap but I might
have missed something, what combination is giving you problem?
I didn't test your series, but I did this kind of change in the past and
sometime enabling tools without enabling softmmu can show missing
objects at build time, or you can also see if tools are built with
softmmu while tools are disabled.
I used to test with something like
for user in enable disable; do
for tools in enable disable; do
for system in enable disable; do
rm -fr build
mkdir build && \
(cd build && \
../configure --$user-user \
--$system-system \
--$tools-tools && \
make || exit)
done
done
done