nios2-softmmu.mak: express dependencies with Kconfig
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Jan 2019 11:16:27 +0000 (12:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 20:46:19 +0000 (21:46 +0100)
%-softmmu.mak only keep boards and optional device
definitions in Kconfig mode.

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

index b3c507e37b6c73c3d7b5b8f6897f94440174cd04..e11dc549601edb1580cc32bccb51fe80e9047481 100644 (file)
@@ -1,6 +1,5 @@
 # Default configuration for nios2-softmmu
 
-CONFIG_NIOS2=y
-CONFIG_SERIAL=y
-CONFIG_ALTERA_TIMER=y
+# Boards:
+#
 CONFIG_NIOS2_10M50=y
index 22817e45fe6e01e72a33151d1d51eacd119279a8..ab953e0077817e5dee761a8cc2a3a82ce92a005e 100644 (file)
@@ -1,5 +1,8 @@
 config NIOS2_10M50
     bool
+    select NIOS2
+    select SERIAL
+    select ALTERA_TIMER
 
 config NIOS2
     bool