[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 00/15] configure cleanups for QEMU 8.2
From: |
Paolo Bonzini |
Subject: |
[PATCH v2 00/15] configure cleanups for QEMU 8.2 |
Date: |
Sat, 2 Sep 2023 14:59:19 +0200 |
This includes a few more patches cleaning up the configure/meson
separation. The highlights are fixing --host-cc, removing the last
traces of compiler detection from config-host.mak, and dropping the
useless pc-bios/Makefile.
Compared to v1, I have also removed the loop that takes random CONFIG_*
lines of config-host.mak and shoves them into config-host.h. These were
the last remains of the old scripts/create_config logic, but they are not
needed anymore because all config-host.h tests are done in meson.build or
come from meson-level options. We're definitely getting into diminishing
returns land (which is a good thing), but I believe it's worth having a
few extra patches to further reduce the coupling between config-host.mak
and meson.build.
To be honest, the plugin code would probably be a lot simpler if
contrib/plugins/Makefile was turned into a meson.build file. As things
stand, the "are plugins enabled?" logic has to stay in configure, in order
to decide whether to build contrib/plugins. However, contrib/plugins
was left as a separate build process for demonstration purposes, so I
am not going to change that. If desired, this can be changed in the
future (together with moving all the $plugins logic from configure
to meson.build). Perhaps the "external project" module from Meson
could be used too, but right now it is limited to projects with
a "configure" phase.
Paolo
Paolo Bonzini (15):
meson: do not unnecessarily use cmake for dependencies
meson: update unsupported host/CPU messages
configure: remove HOST_CC
configure: create native file with contents of $host_cc
meson: compile bundled device trees
configure: remove boolean variables for targets
configure: move --enable-debug-tcg to meson
meson: test for CONFIG_TCG in config_all
contrib/plugins: use an independent makefile
configure: unify recursion into sub-Makefiles
configure, meson: move --enable-plugins to meson
configure, meson: remove CONFIG_SOLARIS from config-host.mak
configure, meson: remove target OS symbols from config-host.mak
meson: list leftover CONFIG_* symbols
configure: remove dead code
Makefile | 29 +++--
accel/tcg/meson.build | 4 +-
chardev/meson.build | 2 +-
configure | 125 ++++++----------------
contrib/plugins/Makefile | 18 ++--
docs/devel/build-system.rst | 8 +-
docs/devel/kconfig.rst | 2 +-
gdbstub/meson.build | 4 +-
meson.build | 106 ++++++++++--------
meson_options.txt | 4 +
net/meson.build | 18 ++--
pc-bios/Makefile | 19 ----
pc-bios/meson.build | 25 ++++-
plugins/meson.build | 12 ++-
qga/meson.build | 4 +-
scripts/meson-buildoptions.sh | 6 ++
storage-daemon/meson.build | 2 +-
tcg/meson.build | 2 +-
tests/Makefile.include | 2 +-
tests/meson.build | 8 +-
tests/migration/meson.build | 2 +-
tests/qtest/meson.build | 18 ++--
tests/tcg/tricore/Makefile.softmmu-target | 2 +-
tests/unit/meson.build | 6 +-
24 files changed, 198 insertions(+), 230 deletions(-)
delete mode 100644 pc-bios/Makefile
--
2.41.0
- [PATCH v2 00/15] configure cleanups for QEMU 8.2,
Paolo Bonzini <=
- [PATCH 01/15] meson: do not unnecessarily use cmake for dependencies, Paolo Bonzini, 2023/09/02
- [PATCH 02/15] meson: update unsupported host/CPU messages, Paolo Bonzini, 2023/09/02
- [PATCH 03/15] configure: remove HOST_CC, Paolo Bonzini, 2023/09/02
- [PATCH 04/15] configure: create native file with contents of $host_cc, Paolo Bonzini, 2023/09/02
- [PATCH 05/15] meson: compile bundled device trees, Paolo Bonzini, 2023/09/02
- [PATCH 06/15] configure: remove boolean variables for targets, Paolo Bonzini, 2023/09/02