[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] configure: linux-user doesn't need neither fdt
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH] configure: linux-user doesn't need neither fdt nor slirp |
Date: |
Tue, 18 Feb 2020 20:55:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
Le 21/06/2019 à 15:05, Laurent Vivier a écrit :
> if softmmu is not enabled, we disable by default fdt and
> slirp as they are only used by -softmmu targets.
>
> A side effect is the git submodules are not cloned
> if they are not needed.
>
> Clone and build can be forced with --enable-fdt and
> --enable-slirp.
>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> configure | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/configure b/configure
> index b091b82cb371..4b3853298c79 100755
> --- a/configure
> +++ b/configure
> @@ -4066,6 +4066,11 @@ if test "$fdt_required" = "yes"; then
> fdt=yes
> fi
>
> +# linux-user doesn't need fdt
> +if test -z "$fdt" -a "$softmmu" != "yes" ; then
> + fdt="no"
> +fi
> +
> if test "$fdt" != "no" ; then
> fdt_libs="-lfdt"
> # explicitly check for libfdt_env.h as it is missing in some stable
> installs
> @@ -5923,6 +5928,11 @@ fi
> ##########################################
> # check for slirp
>
> +# linux-user doesn't need slirp
> +if test -z "$slirp" -a "$softmmu" != "yes" ; then
> + slirp="no"
> +fi
> +
> case "$slirp" in
> "" | yes)
> if $pkg_config slirp; then
>
I've updated the comments according to Philippe's comments and applied
it to my linux-user branch.
Thanks,
Laurent
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] configure: linux-user doesn't need neither fdt nor slirp,
Laurent Vivier <=