mbox series

[00/21] Build system cleanups for QEMU 9.0

Message ID 20231221171958.59350-1-pbonzini@redhat.com
Headers show
Series Build system cleanups for QEMU 9.0 | expand

Message

Paolo Bonzini Dec. 21, 2023, 5:19 p.m. UTC
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(-)