[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/8] vhost-user-video: add meson subdir build logic
From: |
Alex Bennée |
Subject: |
Re: [PATCH 4/8] vhost-user-video: add meson subdir build logic |
Date: |
Tue, 11 Jan 2022 16:03:15 +0000 |
User-agent: |
mu4e 1.7.5; emacs 28.0.91 |
Peter Griffin <peter.griffin@linaro.org> writes:
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> tools/meson.build | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/tools/meson.build b/tools/meson.build
> index 3e5a0abfa2..3314b5efc5 100644
> --- a/tools/meson.build
> +++ b/tools/meson.build
> @@ -24,3 +24,12 @@ endif
> if have_virtiofsd
> subdir('virtiofsd')
> endif
> +
> +have_virtiovideo = (have_system and
> + have_tools and
> + 'CONFIG_LINUX' in config_host)
Following the convention of cece116c939d219070b250338439c2d16f94e3da
have_virtiovideo = (targetos == 'linux' and
have_tools and
'CONFIG_VHOST_USER' in config_host)
> +
> +if have_virtiovideo
> + subdir('vhost-user-video')
> +endif
> +
--
Alex Bennée
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 4/8] vhost-user-video: add meson subdir build logic,
Alex Bennée <=