diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-08-16 11:01:11 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2012-08-16 18:52:58 +0400 |
commit | 5a4d701acde890a5ca134236424ece45545f70c7 (patch) | |
tree | f7daeb54d05f7d3b2483b529441a8d9f70221df4 /configure | |
parent | 2b97f88c927be3ff3722497980048bc1cb7cc571 (diff) | |
download | qemu-5a4d701acde890a5ca134236424ece45545f70c7.zip qemu-5a4d701acde890a5ca134236424ece45545f70c7.tar.gz qemu-5a4d701acde890a5ca134236424ece45545f70c7.tar.bz2 |
audio: Make pcspk card selectable again
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "KOI8-R" character set. ]
[ Some special characters may be displayed incorrectly. ]
Since we moved pcspk into hwlib, CONFIG_PCSPK is no longer defined per
target. Therefore, statically built soundhw array in arch_init.c stopped
including this card.
Work around this by re-adding this define to config-target.mak.
Long-term, a dynamic creation of this soundhw list will be necessary.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3881,6 +3881,11 @@ if test "$target_bsd_user" = "yes" ; then echo "CONFIG_BSD_USER=y" >> $config_target_mak fi +# the static way of configuring available audio cards requires this workaround +if test "$target_user_only" != "yes" && grep -q CONFIG_PCSPK $source_path/default-configs/$target.mak; then + echo "CONFIG_PCSPK=y" >> $config_target_mak +fi + # generate QEMU_CFLAGS/LDFLAGS for targets cflags="" |