]> git.proxmox.com Git - mirror_qemu.git/commit
meson: subprojects: replace berkeley-{soft,test}float-3 with wraps
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 May 2023 11:27:10 +0000 (13:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jun 2023 14:30:01 +0000 (16:30 +0200)
commitd2dfe0b506e47e1409b29b65acb098d707532149
tree78d509c00bedbfc47f3b8f0ee597c880e35c8ab7
parentbf6903f6944fe75606e4c67d6962b407c7bb5656
meson: subprojects: replace berkeley-{soft,test}float-3 with wraps

Unlike other subprojects, these require an overlay directory to include
meson rules to build the libraries.  The rules are basically lifted
from tests/fp/meson.build, with a few changes to create platform.h
and publish a dependency.

The build defines are passed through a subproject option, and posted
back to users of the library via the dependency's compile_args.

The only remaining user of GIT_SUBMODULES and GIT_SUBMODULES_ACTION
is roms/SLOF, which is used to build pc-bios/s390-ccw.  All other
roms submodules are only present to satisfy the license on pre-built
firmware blobs.

Best reviewed with --color-moved.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
12 files changed:
.gitmodules
configure
scripts/archive-source.sh
scripts/make-release
subprojects/.gitignore
subprojects/berkeley-softfloat-3.wrap [new file with mode: 0644]
subprojects/berkeley-testfloat-3.wrap [new file with mode: 0644]
subprojects/packagefiles/berkeley-softfloat-3/meson.build [new file with mode: 0644]
subprojects/packagefiles/berkeley-softfloat-3/meson_options.txt [new file with mode: 0644]
subprojects/packagefiles/berkeley-testfloat-3/meson.build [new file with mode: 0644]
subprojects/packagefiles/berkeley-testfloat-3/meson_options.txt [new file with mode: 0644]
tests/fp/meson.build