Le 13/03/2020 à 19:36, Philippe Mathieu-Daudé a écrit : > Do not build the virtiofsd helper when configured with > --disable-system. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 7df22fcc5d..ed77b6e50b 100644 > --- a/Makefile > +++ b/Makefile > @@ -346,8 +346,8 @@ vhost-user-json-y += > contrib/vhost-user-gpu/50-qemu-gpu.json > endif > > ifeq ($(CONFIG_LINUX)$(CONFIG_SECCOMP)$(CONFIG_LIBCAP_NG),yyy) > -HELPERS-y += virtiofsd$(EXESUF) > -vhost-user-json-y += tools/virtiofsd/50-qemu-virtiofsd.json > +HELPERS-$(CONFIG_SOFTMMU) += virtiofsd$(EXESUF) > +vhost-user-json-$(CONFIG_SOFTMMU) += tools/virtiofsd/50-qemu-virtiofsd.json > endif > > # Sphinx does not allow building manuals into the same directory as >
Why don't you do that instead? ifeq ($(CONFIG_LINUX)$(CONFIG_SECCOMP)$(CONFIG_LIBCAP_NG)$(CONFIG_SOFTMMU),yyyy) Thanks, Laurent