qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v16 98/99] configure: allow the overriding of default-config


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v16 98/99] configure: allow the overriding of default-config in the build
Date: Tue, 8 Jun 2021 15:03:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

On 6/4/21 5:53 PM, Alex Bennée wrote:
> While the default config works well enough it does end up enabling a
> lot of stuff. For more minimal builds we can pass a slimmed down list
> of devices and let Kconfig work out what we want. For example:
> 
>   ../../configure --without-default-features \
>     --target-list=arm-softmmu,aarch64-softmmu \
>     --with-devices-aarch64=(pwd)/../../configs/aarch64-softmmu/64bit-only.mak
> 
> will override the aarch64-softmmu default devices to one of our own
> choosing. Currently there are two configs provided:
> 
>   - 64bit-only, to build without any 32 bit boards at all
>   - virt, even more minimal set for --disable-tcg builds
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Message-Id: <20210528163116.31902-1-alex.bennee@linaro.org>
> 
> ---
> v2
>   - remove extraneous cc
>   - dropped pathname from config
>   - add virt.mak config
>   - drop ZYNQMP from the 64bit only build
>   - test -f the --with-devices-FOO file
> ---
>  configure                              | 20 ++++++++++++++++++++
>  configs/aarch64-softmmu/64bit-only.mak | 10 ++++++++++
>  configs/aarch64-softmmu/virt-only.mak  |  8 ++++++++
>  meson.build                            |  3 ++-
>  4 files changed, 40 insertions(+), 1 deletion(-)
>  create mode 100644 configs/aarch64-softmmu/64bit-only.mak
>  create mode 100644 configs/aarch64-softmmu/virt-only.mak

Shouldn't we also move default-configs/devices/X.mak to
configs/X/default.mak and adapt ./configure (instead of having
configurations spreads in multiple directories)?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]