[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 7/9] meson: Do not configure audio if system-mode is not sele
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 7/9] meson: Do not configure audio if system-mode is not selected |
Date: |
Tue, 19 Jan 2021 19:53:45 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
Forgot to Cc Gerd, adding him.
On 1/19/21 7:50 PM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> configure | 6 ++++++
> meson.build | 4 +++-
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 9f016b06b54..a15bdfb6ef3 100755
> --- a/configure
> +++ b/configure
> @@ -2324,6 +2324,12 @@ if test -z "$want_tools"; then
> fi
> fi
>
> +##########################################
> +# Disable features only meaningful for system-mode emulation
> +if test "$softmmu" = "no"; then
> + audio_drv_list=""
> +fi
> +
> ##########################################
> # Some versions of Mac OS X incorrectly define SIZE_MAX
> cat > $TMPC << EOF
> diff --git a/meson.build b/meson.build
> index 575e34d88ac..e6c6d1518ef 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -2425,7 +2425,9 @@
> # TODO: add back version
> summary_info += {'virgl support': config_host.has_key('CONFIG_VIRGL')}
> summary_info += {'curl support': curl.found()}
> -summary_info += {'Audio drivers': config_host['CONFIG_AUDIO_DRIVERS']}
> +if have_system
> + summary_info += {'Audio drivers': config_host['CONFIG_AUDIO_DRIVERS']}
> +endif
> summary_info += {'Block whitelist (rw)':
> config_host['CONFIG_BDRV_RW_WHITELIST']}
> summary_info += {'Block whitelist (ro)':
> config_host['CONFIG_BDRV_RO_WHITELIST']}
> summary_info += {'VirtFS support': have_virtfs}
>
- [PATCH 0/9] meson: Clarify summary, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 1/9] meson: Summarize generic information first, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 2/9] meson: Summarize compilation information altogether, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 3/9] meson: Summarize host binaries altogether, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 4/9] meson: Summarize accelerators altogether, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 5/9] meson: Display if system emulation is selected in summary, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 6/9] meson: Restrict system-mode specific accelerators, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 7/9] meson: Do not configure audio if system-mode is not selected, Philippe Mathieu-Daudé, 2021/01/19
- Re: [PATCH 7/9] meson: Do not configure audio if system-mode is not selected,
Philippe Mathieu-Daudé <=
- [PATCH 8/9] meson: Display if user-mode emulation is selected in summary, Philippe Mathieu-Daudé, 2021/01/19
- [PATCH 9/9] meson: Summarize block layer information altogether, Philippe Mathieu-Daudé, 2021/01/19
- Re: [PATCH 0/9] meson: Clarify summary, Paolo Bonzini, 2021/01/20