[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)?
- [PATCH v16 57/99] target/arm: remove kvm include file for PSCI and arm-powerctl, (continued)
- [PATCH v16 57/99] target/arm: remove kvm include file for PSCI and arm-powerctl, Alex Bennée, 2021/06/04
- [PATCH v16 48/99] target/arm: remove now useless ifndef from fp_exception_el, Alex Bennée, 2021/06/04
- [PATCH v16 27/99] target/arm: fix style in preparation of new cpregs module, Alex Bennée, 2021/06/04
- [PATCH v16 49/99] target/arm: make further preparation for the exception code to move, Alex Bennée, 2021/06/04
- [PATCH v16 90/99] XXX target/arm: experiment refactoring cpu "max", Alex Bennée, 2021/06/04
- [PATCH v16 91/99] target/arm: tcg: remove superfluous CONFIG_TCG check, Alex Bennée, 2021/06/04
- [PATCH v16 98/99] configure: allow the overriding of default-config in the build, Alex Bennée, 2021/06/04
- [PATCH v16 22/99] target/arm: tcg: split m_helper user-only and sysemu-only parts, Alex Bennée, 2021/06/04
- [PATCH v16 14/99] accel: add cpu_reset, Alex Bennée, 2021/06/04
- [PATCH v16 81/99] target/arm: tcg-sve: rename the narrow_vq and change_el functions, Alex Bennée, 2021/06/04
- [PATCH v16 66/99] tests: do not run qom-test on all machines for ARM KVM-only, Alex Bennée, 2021/06/04
- [PATCH v16 74/99] target/arm: cpu-sve: make cpu_sve_finalize_features return bool, Alex Bennée, 2021/06/04
- [PATCH v16 65/99] tests: device-introspect-test: cope with ARM TCG-only devices, Alex Bennée, 2021/06/04