summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-29 12:16:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:46:19 +0100
commite6f3d3fbdf1a8c77d14c6a18465a8174c39dd5ae (patch)
treeb77716697cc377453562b265adc89b93589ae595
parent152f8d792392e86f41c58a86cf5939b0ef739f12 (diff)
downloadfocaccia-qemu-e6f3d3fbdf1a8c77d14c6a18465a8174c39dd5ae.tar.gz
focaccia-qemu-e6f3d3fbdf1a8c77d14c6a18465a8174c39dd5ae.zip
unicore32-softmmu.mak: express dependencies with Kconfig
%-softmmu.mak only keep boards and optional device
definitions in Kconfig mode.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--default-configs/unicore32-softmmu.mak5
-rw-r--r--hw/unicore32/Kconfig2
2 files changed, 5 insertions, 2 deletions
diff --git a/default-configs/unicore32-softmmu.mak b/default-configs/unicore32-softmmu.mak
index 17a7915549..0bfce48c6d 100644
--- a/default-configs/unicore32-softmmu.mak
+++ b/default-configs/unicore32-softmmu.mak
@@ -1,4 +1,5 @@
 # Default configuration for unicore32-softmmu
-CONFIG_ISA_BUS=y
+
+# Boards:
+#
 CONFIG_PUV3=y
-CONFIG_PCKBD=y
diff --git a/hw/unicore32/Kconfig b/hw/unicore32/Kconfig
index a03a9965c2..4443a29dd2 100644
--- a/hw/unicore32/Kconfig
+++ b/hw/unicore32/Kconfig
@@ -1,3 +1,5 @@
 config PUV3
     bool
+    select ISA_BUS
+    select PCKBD
     select PTIMER