Home
last modified time | relevance | path

Searched hist:bcb129b3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/audio/
H A DKconfigbcb129b3 Wed Jan 23 00:56:05 CST 2019 Paolo Bonzini <pbonzini@redhat.com> 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>