summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-05-22 19:24:59 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-06-05 21:23:22 +0200
commit1cf295be5de93e984ea6f52f151141f5126537f0 (patch)
tree767a6b07f9d6120da271e2f5eef4c995a6f804be
parent57159bb239bb3517348415b7cd23dd45fb7b100f (diff)
downloadfocaccia-qemu-1cf295be5de93e984ea6f52f151141f5126537f0.tar.gz
focaccia-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>
-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=""