[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/14] Makefile: Only build virtiofsd if system-mode is enabl
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 01/14] Makefile: Only build virtiofsd if system-mode is enabled |
Date: |
Fri, 13 Mar 2020 23:28:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
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é <address@hidden>
> ---
> 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
[PATCH 02/14] configure: Avoid building TCG when not needed, Philippe Mathieu-Daudé, 2020/03/13
[PATCH 03/14] tests/Makefile: Only display TCG-related tests when TCG is available, Philippe Mathieu-Daudé, 2020/03/13
[PATCH 04/14] tests/Makefile: Restrict some softmmu-only tests, Philippe Mathieu-Daudé, 2020/03/13