summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-05-22 19:24:59 +0200
committerLaurent Vivier2020-06-05 21:23:22 +0200
commit1cf295be5de93e984ea6f52f151141f5126537f0 (patch)
tree767a6b07f9d6120da271e2f5eef4c995a6f804be /configure
parentMakefile: Only build virtiofsd if system-mode is enabled (diff)
downloadqemu-1cf295be5de93e984ea6f52f151141f5126537f0.tar.gz
qemu-1cf295be5de93e984ea6f52f151141f5126537f0.tar.xz
qemu-1cf295be5de93e984ea6f52f151141f5126537f0.zip
configure: Avoid building TCG when not needed
Avoid building TCG when building only tools: ./configure --enable-tools --disable-system --disable-user This saves us from running the soft-float tests enabled since commit 76170102508. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Tested-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200522172510.25784-3-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index b969dee675..fccc56bd4d 100755
--- a/configure
+++ b/configure
@@ -1663,6 +1663,10 @@ if [ "$ARCH" = "unknown" ]; then
linux_user="no"
fi
+if [ "$bsd_user" = "no" -a "$linux_user" = "no" -a "$softmmu" = "no" ] ; then
+ tcg="no"
+fi
+
default_target_list=""
mak_wilds=""