]> git.proxmox.com Git - mirror_qemu.git/commit - default-configs/mips-softmmu-common.mak
build: convert sound.mak to Kconfig
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Jan 2019 06:56:05 +0000 (14:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 20:45:53 +0000 (21:45 +0100)
commitbcb129b3154ba743f8e52c21c331a0dfcaee7c38
treeb0e14312ce4ff29cbf0897b83390bf643bc16cc7
parent7c28b925b7e176b4e44ed05d23cf883561000546
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>
default-configs/i386-softmmu.mak
default-configs/mips-softmmu-common.mak
default-configs/ppc-softmmu.mak
default-configs/sound.mak [deleted file]
hw/audio/Kconfig