diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-01-22 21:44:31 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-08 14:43:55 +0100 |
commit | f77147cd4de8c726f89b2702f7a9d0c9711d8875 (patch) | |
tree | d2b8a6cbb29e989091d972fbf4e718537883fadc /tests | |
parent | fa2f7b0b9b7d1087bd09f8e086c6403515bbdd3d (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 4 |
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 |