This patch is reviewed, can it get in 5.0 as build fix?

On 3/16/20 12:57 AM, Philippe Mathieu-Daudé wrote:
Do not build the virtiofsd helper when configured with
--disable-system.

Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>
---
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



Reply via email to