loongarch: switch boards to "default y"
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Jan 2024 12:36:37 +0000 (13:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 May 2024 13:47:47 +0000 (15:47 +0200)
Some targets use "default y" for boards to filter out those that require
TCG.  For consistency we are switching all other targets to do the same.
Continue with Loongarch.

No changes to generated config-devices.mak file.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitlab-ci.d/buildtest.yml
configs/devices/loongarch64-softmmu/default.mak
hw/loongarch/Kconfig

index 75222c4450bb89fa619fc9f63d6a5edff7646de5..a82848ba55b264bd37cf2f485e26a4db8d622b6e 100644 (file)
@@ -648,8 +648,8 @@ build-tci:
     - make check-tcg
 
 # Check our reduced build configurations
-# requires libfdt: aarch64, arm, i386, x86_64
-# does not build without boards: i386, x86_64
+# requires libfdt: aarch64, arm, i386, loongarch64, x86_64
+# does not build without boards: i386, loongarch64, x86_64
 build-without-defaults:
   extends: .native_build_job_template
   needs:
index 0893112b81d6c52ac1692e69912460705f5a550c..ffe705836fde47b47f82db9baa8d1b8073eec4df 100644 (file)
@@ -3,4 +3,5 @@
 # Uncomment the following lines to disable these optional devices:
 # CONFIG_PCI_DEVICES=n
 
-CONFIG_LOONGARCH_VIRT=y
+# Boards are selected by default, uncomment to keep out of the build.
+# CONFIG_LOONGARCH_VIRT=n
index 5727efed6d8442bee0217d2dcd0f2e6c1cd8c52e..7864050563072d0dfee8d01ccefafedd54c3bc25 100644 (file)
@@ -1,5 +1,7 @@
 config LOONGARCH_VIRT
     bool
+    default y
+    depends on LOONGARCH64
     select PCI
     select PCI_EXPRESS_GENERIC_BRIDGE
     imply VIRTIO_VGA