summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-01-22 21:44:31 +0100
committerPaolo Bonzini2021-02-08 14:43:55 +0100
commitf77147cd4de8c726f89b2702f7a9d0c9711d8875 (patch)
treed2b8a6cbb29e989091d972fbf4e718537883fadc
parentmeson: Warn when TCI is selected but TCG backend is available (diff)
downloadqemu-f77147cd4de8c726f89b2702f7a9d0c9711d8875.tar.gz
qemu-f77147cd4de8c726f89b2702f7a9d0c9711d8875.tar.xz
qemu-f77147cd4de8c726f89b2702f7a9d0c9711d8875.zip
tests/meson: Only build softfloat objects if TCG is selected
Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210122204441.2145197-3-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--tests/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 29ebaba48d..6f1ff926d2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -276,7 +276,9 @@ test('decodetree', sh,
workdir: meson.current_source_dir() / 'decode',
suite: 'decodetree')
-subdir('fp')
+if 'CONFIG_TCG' in config_all
+ subdir('fp')
+endif
if not get_option('tcg').disabled()
if 'CONFIG_PLUGIN' in config_host