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.ben...@linaro.org> > Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Message-Id: <20210528163116.31902-1-alex.ben...@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)?