[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 01/12] Makefile: Only build virtiofsd if system-mode is enable
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 01/12] Makefile: Only build virtiofsd if system-mode is enabled |
Date: |
Mon, 16 Mar 2020 00:57:05 +0100 |
Do not build the virtiofsd helper when configured with
--disable-system.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
v2: Use single line with ifeq='yyyy' (lvivier, rth)
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7df22fcc5d..7d27941803 100644
--- a/Makefile
+++ b/Makefile
@@ -345,7 +345,7 @@ HELPERS-y += vhost-user-gpu$(EXESUF)
vhost-user-json-y += contrib/vhost-user-gpu/50-qemu-gpu.json
endif
-ifeq ($(CONFIG_LINUX)$(CONFIG_SECCOMP)$(CONFIG_LIBCAP_NG),yyy)
+ifeq
($(CONFIG_SOFTMMU)$(CONFIG_LINUX)$(CONFIG_SECCOMP)$(CONFIG_LIBCAP_NG),yyyy)
HELPERS-y += virtiofsd$(EXESUF)
vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json
endif
--
2.21.1
- [PATCH v2 00/12] user-mode: Prune build dependencies (part 1), Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 01/12] Makefile: Only build virtiofsd if system-mode is enabled,
Philippe Mathieu-Daudé <=
- [PATCH v2 02/12] configure: Avoid building TCG when not needed, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 03/12] tests/Makefile: Only display TCG-related tests when TCG is available, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 04/12] tests/Makefile: Restrict some softmmu-only tests, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 05/12] util/Makefile: Reduce the user-mode object list, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 06/12] stubs/Makefile: Reduce the user-mode object list, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 07/12] target/riscv/cpu: Restrict CPU migration to system-mode, Philippe Mathieu-Daudé, 2020/03/15
- [PATCH v2 08/12] exec: Assert CPU migration is not used on user-only build, Philippe Mathieu-Daudé, 2020/03/15