There is really nothing special in these devices; they are just ISA devices. Instead of including them for each target, set CONFIG_ISA_BUS to true, and make the devices default to present whenever ISA is available. More conversion of ISA devices will follow. Done with the following script: while read i; do i=${i%=y}; i=${i#CONFIG_} sed -i -e'/^config '$i'$/!b' -en \ -e'a\' -e' default y\' -e' depends on ISA_BUS' \ `grep -lw $i hw/*/Kconfig` done < default-configs/sound.mak Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190123065618.3520-32-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
46 lines
802 B
Makefile
46 lines
802 B
Makefile
# Common mips*-softmmu CONFIG defines
|
|
|
|
include usb.mak
|
|
CONFIG_ISA_BUS=y
|
|
CONFIG_PCI=y
|
|
CONFIG_PCI_DEVICES=y
|
|
CONFIG_ESP=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_VGA_ISA=y
|
|
CONFIG_VGA_ISA_MM=y
|
|
CONFIG_VGA_CIRRUS=y
|
|
CONFIG_VMWARE_VGA=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_SERIAL_ISA=y
|
|
CONFIG_PARALLEL=y
|
|
CONFIG_I8254=y
|
|
CONFIG_PCSPK=y
|
|
CONFIG_PCKBD=y
|
|
CONFIG_FDC=y
|
|
CONFIG_ACPI=y
|
|
CONFIG_ACPI_X86=y
|
|
CONFIG_ACPI_MEMORY_HOTPLUG=y
|
|
CONFIG_ACPI_NVDIMM=y
|
|
CONFIG_ACPI_CPU_HOTPLUG=y
|
|
CONFIG_APM=y
|
|
CONFIG_I8257=y
|
|
CONFIG_PIIX4=y
|
|
CONFIG_IDE_ISA=y
|
|
CONFIG_IDE_PIIX=y
|
|
CONFIG_NE2000_ISA=y
|
|
CONFIG_MIPSNET=y
|
|
CONFIG_PFLASH_CFI01=y
|
|
CONFIG_I8259=y
|
|
CONFIG_MC146818RTC=y
|
|
CONFIG_ISA_TESTDEV=y
|
|
CONFIG_EMPTY_SLOT=y
|
|
CONFIG_MIPS_CPS=y
|
|
CONFIG_MIPS_ITU=y
|
|
CONFIG_I2C=y
|
|
CONFIG_R4K=y
|
|
CONFIG_MALTA=y
|
|
CONFIG_MIPSSIM=y
|
|
CONFIG_ACPI_SMBUS=y
|
|
CONFIG_SMBUS_EEPROM=y
|
|
CONFIG_TEST_DEVICES=y
|