summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorAlex Bennée2021-07-07 15:17:44 +0200
committerPaolo Bonzini2021-07-09 18:21:34 +0200
commitd1d5e9eefd7f0165884998f3054836580a69e1a4 (patch)
tree0b85ea0cf0f0581d38c279200a75404e5ff3c327 /configs
parentconfigs: rename default-configs to configs and reorganise (diff)
downloadqemu-d1d5e9eefd7f0165884998f3054836580a69e1a4.tar.gz
qemu-d1d5e9eefd7f0165884998f3054836580a69e1a4.tar.xz
qemu-d1d5e9eefd7f0165884998f3054836580a69e1a4.zip
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/devices/aarch64-softmmu/minimal.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/devices/aarch64-softmmu/minimal.mak b/configs/devices/aarch64-softmmu/minimal.mak
new file mode 100644
index 0000000000..0ebc1dca56
--- /dev/null
+++ b/configs/devices/aarch64-softmmu/minimal.mak
@@ -0,0 +1,9 @@
+#
+# A minimal version of the config that only supports only a few
+# virtual machines. This avoids bringing in any of numerous legacy
+# features from the 32bit platform (although virt still supports 32bit
+# itself)
+#
+
+CONFIG_ARM_VIRT=y
+CONFIG_SBSA_REF=y