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.ben...@linaro.org>
> Cc: Philippe Mathieu-Daudé <phi...@redhat.com>
> Cc: Paolo Bonzini <pbonz...@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é <phi...@redhat.com>


Reply via email to