[PATCH 00/21] Build system cleanups for QEMU 9.0

Paolo Bonzini posted 21 patches 11 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231221171958.59350-1-pbonzini@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Raphael Norwitz <raphael.norwitz@nutanix.com>, Gerd Hoffmann <kraxel@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Greg Kurz <groug@kaod.org>, Christian Schoenebeck <qemu_oss@crudebyte.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Jonathan Cameron <jonathan.cameron@huawei.com>, Fan Ni <fan.ni@samsung.com>, Jason Wang <jasowang@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, Pavel Pisa <pisa@cmp.felk.cvut.cz>, Vikram Garhwal <fnu.vikram@xilinx.com>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Michael Roth <michael.roth@amd.com>, Konstantin Kostiuk <kkostiuk@redhat.com>, Fam Zheng <fam@euphon.net>, Peter Maydell <peter.maydell@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Laurent Vivier <lvivier@redhat.com>
Makefile                             |   1 +
accel/tcg/meson.build                |   4 +-
backends/meson.build                 |  10 +-
block/meson.build                    |  11 +-
bsd-user/meson.build                 |   2 +-
chardev/meson.build                  |  28 +-
configure                            | 154 +++---
contrib/ivshmem-client/meson.build   |   2 +-
contrib/ivshmem-server/meson.build   |   2 +-
contrib/vhost-user-blk/meson.build   |   2 +-
contrib/vhost-user-input/meson.build |   2 +-
contrib/vhost-user-scsi/meson.build  |   2 +-
docs/devel/build-system.rst          |  15 -
docs/devel/kconfig.rst               |   2 +-
fsdev/meson.build                    |   6 +-
gdbstub/meson.build                  |   4 +-
hw/9pfs/meson.build                  |   7 +-
hw/acpi/meson.build                  |   5 -
hw/cxl/meson.build                   |   2 -
hw/display/meson.build               |   8 +-
hw/mem/meson.build                   |   1 -
hw/mips/meson.build                  |   2 +-
hw/net/meson.build                   |   2 -
hw/pci-bridge/meson.build            |   2 -
hw/pci/meson.build                   |   1 -
hw/ppc/meson.build                   |   8 +-
hw/remote/meson.build                |   1 -
hw/smbios/meson.build                |   5 -
hw/usb/meson.build                   |   8 +-
hw/virtio/meson.build                |   2 -
meson.build                          | 779 +++++++++++++--------------
meson_options.txt                    |   2 +-
net/can/meson.build                  |   4 +-
net/meson.build                      |  10 +-
plugins/meson.build                  |   4 +-
qga/meson.build                      |  50 +-
scsi/meson.build                     |   8 +-
storage-daemon/meson.build           |   2 +-
system/meson.build                   |   4 +-
target/arm/meson.build               |   2 +-
target/mips/meson.build              |   2 +-
tcg/meson.build                      |   2 +-
tests/bench/meson.build              |   6 +-
tests/fp/meson.build                 |   4 +-
tests/meson.build                    |   4 +-
tests/plugin/meson.build             |   2 +-
tests/qemu-iotests/meson.build       |   2 +-
tests/qtest/meson.build              |  20 +-
tests/unit/meson.build               |   8 +-
ui/dbus-display1.xml                 |  10 +-
ui/meson.build                       |  17 +-
util/meson.build                     |  58 +-
52 files changed, 630 insertions(+), 671 deletions(-)
[PATCH 00/21] Build system cleanups for QEMU 9.0
Posted by Paolo Bonzini 11 months, 1 week ago
These are cleanups that we can do with a completed conversion
and a global view of meson.build, including:

1) removal of CONFIG_ALL

2) regrouping of root meson.build into better-defined sections

3) renaming of targetos into host_os

4) cleaning up of probe_target_compiler

Plus a bunch of small cleanups here and there.

Paolo

Paolo Bonzini (21):
  meson: fix type of "relocatable" option
  meson: remove unused variable
  meson: use version_compare() to compare version
  Makefile: clean qemu-iotests output
  configure: remove unnecessary subshell
  configure: unify again the case arms in probe_target_compiler
  meson: always probe u2f and canokey if the option is enabled
  meson: remove OS definitions from config_targetos
  meson: remove CONFIG_POSIX and CONFIG_WIN32 from config_targetos
  meson: remove config_targetos
  meson: remove CONFIG_ALL
  meson: rename config_all
  meson: add more sections to main meson.build
  meson: move program checks together
  meson: move option validation a bit closer
  meson: separate host-specific checks from option validation
  meson: keep subprojects together
  meson: move CFI detection code earlier
  meson: move config-host.h definitions together
  meson: move subdirs to "Collect sources" section
  configure, meson: rename targetos to host_os

 Makefile                             |   1 +
 accel/tcg/meson.build                |   4 +-
 backends/meson.build                 |  10 +-
 block/meson.build                    |  11 +-
 bsd-user/meson.build                 |   2 +-
 chardev/meson.build                  |  28 +-
 configure                            | 154 +++---
 contrib/ivshmem-client/meson.build   |   2 +-
 contrib/ivshmem-server/meson.build   |   2 +-
 contrib/vhost-user-blk/meson.build   |   2 +-
 contrib/vhost-user-input/meson.build |   2 +-
 contrib/vhost-user-scsi/meson.build  |   2 +-
 docs/devel/build-system.rst          |  15 -
 docs/devel/kconfig.rst               |   2 +-
 fsdev/meson.build                    |   6 +-
 gdbstub/meson.build                  |   4 +-
 hw/9pfs/meson.build                  |   7 +-
 hw/acpi/meson.build                  |   5 -
 hw/cxl/meson.build                   |   2 -
 hw/display/meson.build               |   8 +-
 hw/mem/meson.build                   |   1 -
 hw/mips/meson.build                  |   2 +-
 hw/net/meson.build                   |   2 -
 hw/pci-bridge/meson.build            |   2 -
 hw/pci/meson.build                   |   1 -
 hw/ppc/meson.build                   |   8 +-
 hw/remote/meson.build                |   1 -
 hw/smbios/meson.build                |   5 -
 hw/usb/meson.build                   |   8 +-
 hw/virtio/meson.build                |   2 -
 meson.build                          | 779 +++++++++++++--------------
 meson_options.txt                    |   2 +-
 net/can/meson.build                  |   4 +-
 net/meson.build                      |  10 +-
 plugins/meson.build                  |   4 +-
 qga/meson.build                      |  50 +-
 scsi/meson.build                     |   8 +-
 storage-daemon/meson.build           |   2 +-
 system/meson.build                   |   4 +-
 target/arm/meson.build               |   2 +-
 target/mips/meson.build              |   2 +-
 tcg/meson.build                      |   2 +-
 tests/bench/meson.build              |   6 +-
 tests/fp/meson.build                 |   4 +-
 tests/meson.build                    |   4 +-
 tests/plugin/meson.build             |   2 +-
 tests/qemu-iotests/meson.build       |   2 +-
 tests/qtest/meson.build              |  20 +-
 tests/unit/meson.build               |   8 +-
 ui/dbus-display1.xml                 |  10 +-
 ui/meson.build                       |  17 +-
 util/meson.build                     |  58 +-
 52 files changed, 630 insertions(+), 671 deletions(-)

-- 
2.43.0