mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
build: convert sound.mak to Kconfig
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>
This commit is contained in:
parent
7c28b925b7
commit
bcb129b315
5 changed files with 11 additions and 7 deletions
|
@ -1,5 +1,7 @@
|
|||
config SB16
|
||||
bool
|
||||
default y
|
||||
depends on ISA_BUS
|
||||
|
||||
config ES1370
|
||||
bool
|
||||
|
@ -13,12 +15,18 @@ config AC97
|
|||
|
||||
config ADLIB
|
||||
bool
|
||||
default y
|
||||
depends on ISA_BUS
|
||||
|
||||
config GUS
|
||||
bool
|
||||
default y
|
||||
depends on ISA_BUS
|
||||
|
||||
config CS4231A
|
||||
bool
|
||||
default y
|
||||
depends on ISA_BUS
|
||||
|
||||
config HDA
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue