[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/13] configure: Avoid compiling system tools on user build by de
From: |
Laurent Vivier |
Subject: |
[PULL 05/13] configure: Avoid compiling system tools on user build by default |
Date: |
Thu, 20 Feb 2020 10:20:45 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
User-mode does not need the system tools. Do not build them by
default if the user specifies --disable-system.
This disables building the following binaries on a user-only build:
- elf2dmp
- qemu-edid
- qemu-ga
- qemu-img
- qemu-io
- qemu-nbd
- ivshmem-client
- ivshmem-server
The qemu-user binaries are not affected by this change.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
configure | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 5f5f4befb9f6..d57261e3ad0c 100755
--- a/configure
+++ b/configure
@@ -455,7 +455,7 @@ guest_agent_ntddscsi="no"
guest_agent_msi=""
vss_win32_sdk=""
win_sdk="no"
-want_tools="yes"
+want_tools=""
libiscsi=""
libnfs=""
coroutine=""
@@ -2213,6 +2213,16 @@ else
echo big/little test failed
fi
+##########################################
+# system tools
+if test -z "$want_tools"; then
+ if test "$softmmu" = "no"; then
+ want_tools=no
+ else
+ want_tools=yes
+ fi
+fi
+
##########################################
# cocoa implies not SDL or GTK
# (the cocoa UI code currently assumes it is always the active UI
--
2.24.1
- [PULL 00/13] Linux user for 5.0 patches, Laurent Vivier, 2020/02/20
- [PULL 03/13] configure: linux-user doesn't need neither fdt nor slirp, Laurent Vivier, 2020/02/20
- [PULL 09/13] linux-user: Add support for getting alsa timer version and id, Laurent Vivier, 2020/02/20
- [PULL 05/13] configure: Avoid compiling system tools on user build by default,
Laurent Vivier <=
- [PULL 02/13] linux-user: implement getsockopt SO_RCVTIMEO and SO_SNDTIMEO, Laurent Vivier, 2020/02/20
- [PULL 01/13] linux-user: Implement membarrier syscall, Laurent Vivier, 2020/02/20
- [PULL 12/13] linux-user: Add support for getting/setting selected alsa timer parameters using ioctls, Laurent Vivier, 2020/02/20
- [PULL 08/13] linux-user: remove gemu_log from the linux-user tree, Laurent Vivier, 2020/02/20
- [PULL 04/13] linux-user/strace: Improve output of various syscalls, Laurent Vivier, 2020/02/20
- [PULL 10/13] linux-user: Add support for getting/setting specified alsa timer parameters using ioctls, Laurent Vivier, 2020/02/20
- [PULL 06/13] linux-user: Use `qemu_log' for non-strace logging, Laurent Vivier, 2020/02/20
- [PULL 11/13] linux-user: Add support for selecting alsa timer using ioctl, Laurent Vivier, 2020/02/20
- [PULL 13/13] linux-user: Add support for selected alsa timer instructions using ioctls, Laurent Vivier, 2020/02/20
- [PULL 07/13] linux-user: Use `qemu_log' for strace, Laurent Vivier, 2020/02/20