sparc64-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>
This commit is contained in:
Paolo Bonzini 2019-01-29 12:16:27 +01:00
parent 8c75eec06d
commit 152f8d7923
2 changed files with 21 additions and 15 deletions

View File

@ -1,19 +1,12 @@
# Default configuration for sparc64-softmmu # Default configuration for sparc64-softmmu
CONFIG_PCI=y # Uncomment the following lines to disable these optional devices:
CONFIG_PCI_DEVICES=y #
CONFIG_M48T59=y #CONFIG_PCI_DEVICES=n
CONFIG_SERIAL=y #CONFIG_SUNHME=n
CONFIG_SERIAL_ISA=y #CONFIG_TEST_DEVICES=n
CONFIG_PARALLEL=y
CONFIG_PCKBD=y # Boards:
CONFIG_FDC=y #
CONFIG_IDE_CMD646=y
CONFIG_PCI_SABRE=y
CONFIG_SIMBA=y
CONFIG_SUNHME=y
CONFIG_MC146818RTC=y
CONFIG_TEST_DEVICES=y
CONFIG_SUN4V_RTC=y
CONFIG_SUN4U=y CONFIG_SUN4U=y
CONFIG_NIAGARA=y CONFIG_NIAGARA=y

View File

@ -1,6 +1,19 @@
config SUN4U config SUN4U
bool bool
imply PCI_DEVICES
imply SUNHME
imply TEST_DEVICES
select M48T59
select ISA_BUS select ISA_BUS
select FDC
select SERIAL_ISA
select PCI_SABRE
select IDE_CMD646
select PARALLEL
select PCKBD
select SIMBA
config NIAGARA config NIAGARA
bool bool
select EMPTY_SLOT
select SUN4V_RTC