[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] configure: allow the overriding of default-config in the
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [RFC PATCH] configure: allow the overriding of default-config in the build |
Date: |
Tue, 1 Jun 2021 10:04:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 5/28/21 6:31 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/aarch64-softmmu-64bit-only.mak
>
> will override the aarch64-softmmu default devices to one of our own
> choosing.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> ---
> configure | 16 ++++++++++++++++
> .../aarch64-softmmu-64bit-only.mak | 10 ++++++++++
> meson.build | 3 ++-
> 3 files changed, 28 insertions(+), 1 deletion(-)
> create mode 100644 configs/aarch64-softmmu/aarch64-softmmu-64bit-only.mak
Surprisingly simple :)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- Re: [RFC PATCH] configure: allow the overriding of default-config in the build,
Philippe Mathieu-Daudé <=