]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hppa-softmmu.mak: express dependencies with Kconfig
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Jan 2019 14:04:49 +0000 (15:04 +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.

Note that the Dino board uses a memory mapped 16550 UART and
therefore only CONFIG_SERIAL is needed, not CONFIG_SERIAL_ISA.

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

index b7f2b43c24e3784180ecd65cd0394968fc333279..b64c5eb3ff6453514461b64699633fcec5cfea52 100644 (file)
@@ -1,13 +1,9 @@
-CONFIG_PCI=y
-CONFIG_PCI_DEVICES=y
-CONFIG_SERIAL=y
-CONFIG_SERIAL_ISA=y
-CONFIG_ISA_BUS=y
-CONFIG_I8259=y
-CONFIG_E1000_PCI=y
-CONFIG_IDE_CMD646=y
-# CONFIG_IDE_MMIO=y
-CONFIG_LSI_SCSI_PCI=y
-CONFIG_VIRTIO_VGA=y
-CONFIG_MC146818RTC=y
+# Default configuration for hppa-softmmu
+
+# Uncomment the following lines to disable these optional devices:
+#
+#CONFIG_PCI_DEVICES=n
+
+# Boards:
+#
 CONFIG_DINO=y
index 5ce48ef940db8fbdbeab708d0a6821d9a837af53..2d9b072c214d6efeb934168c391a76f60b494ba8 100644 (file)
@@ -1,2 +1,10 @@
 config DINO
     bool
+    imply PCI_DEVICES
+    select PCI
+    select SERIAL
+    select ISA_BUS
+    select I8259
+    select IDE_CMD646
+    select MC146818RTC
+    select LSI_SCSI_PCI