OSDN Git Service

configure: allow the selection of alternate config in the build
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 7 Jul 2021 13:17:44 +0000 (14:17 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Jul 2021 16:21:34 +0000 (18:21 +0200)
commitd1d5e9eefd7f0165884998f3054836580a69e1a4
tree0b85ea0cf0f0581d38c279200a75404e5ff3c327
parent812b31d3f91507160c367440c17715b62d5e0869
configure: allow the selection of alternate config in the build

While the default config works well enough it does end up enabling a
lot of stuff. For more minimal builds we can select a different 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=minimal

will override the aarch64-softmmu default set of devices with a more
minimal set of devices that just enables the virt and sbsa-ref models.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210707131744.26027-6-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configs/devices/aarch64-softmmu/minimal.mak [new file with mode: 0644]
configure
meson.build