avr: 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 AVR.

No changes to generated config-devices.mak file.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configs/devices/avr-softmmu/default.mak
hw/avr/Kconfig

index 80218add98cf1d012f6907570bdbe45d1055b333..4207e7b3ce2b819679bf24a5875f35ce72c12e7b 100644 (file)
@@ -1,5 +1,4 @@
 # Default configuration for avr-softmmu
 
-# Boards:
-#
-CONFIG_ARDUINO=y
+# Boards are selected by default, uncomment to keep out of the build.
+# CONFIG_ARDUINO=n
index d31298c3cce111dc6e8aba107bbbda7744419c26..b29937be4145f9899fdccca6a596ef9c8458599e 100644 (file)
@@ -5,5 +5,8 @@ config AVR_ATMEGA_MCU
     select AVR_POWER
 
 config ARDUINO
+    bool
+    default y
+    depends on AVR
     select AVR_ATMEGA_MCU
     select UNIMP