From: Philippe Mathieu-Daudé Date: Fri, 22 Jan 2021 20:44:31 +0000 (+0100) Subject: tests/meson: Only build softfloat objects if TCG is selected X-Git-Tag: v6.0.0-rc0~97^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77147cd4de8c726f89b2702f7a9d0c9711d8875;p=thirdparty%2Fqemu.git tests/meson: Only build softfloat objects if TCG is selected Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daudé Acked-by: Paolo Bonzini Reviewed-by: Alex Bennée Message-Id: <20210122204441.2145197-3-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/tests/meson.build b/tests/meson.build index 29ebaba48d2..6f1ff926d26 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