From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss7So-0002OH-JW for qemu-devel@nongnu.org; Fri, 20 Jul 2012 03:17:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ss7Sm-00023e-PP for qemu-devel@nongnu.org; Fri, 20 Jul 2012 03:17:26 -0400 Received: from mout.web.de ([212.227.15.4]:60850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ss7Sm-00023Y-FW for qemu-devel@nongnu.org; Fri, 20 Jul 2012 03:17:24 -0400 Message-ID: <50090601.40800@web.de> Date: Fri, 20 Jul 2012 09:17:21 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <50082E7F.7030800@siemens.com> <5008980C.60809@codemonkey.ws> <50090269.7090604@web.de> In-Reply-To: <50090269.7090604@web.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8A708FCFCD6E6DE7E98679CD" Subject: [Qemu-devel] [PATCH] audio: Make pcspk card selectable again List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel , Anthony Liguori This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A708FCFCD6E6DE7E98679CD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable From: Jan Kiszka 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 --- configure | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 106209a..77b5096 100755 --- a/configure +++ b/configure @@ -3818,6 +3818,11 @@ if test "$target_bsd_user" =3D "yes" ; then echo "CONFIG_BSD_USER=3Dy" >> $config_target_mak fi =20 +# the static way of configuring available audio cards requires this work= around +if test "$target_user_only" !=3D "yes" && grep -q CONFIG_PCSPK $source_p= ath/default-configs/$target.mak; then + echo "CONFIG_PCSPK=3Dy" >> $config_target_mak +fi + # generate QEMU_CFLAGS/LDFLAGS for targets =20 cflags=3D"" --=20 1.7.3.4 --------------enig8A708FCFCD6E6DE7E98679CD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAJBgIACgkQitSsb3rl5xQENgCfYgue3clQa5mdIGTLaPB3EjGc yrMAn1PaacB4FoKdlItFJ2l7fgiRTtbX =bJtb -----END PGP SIGNATURE----- --------------enig8A708FCFCD6E6DE7E98679CD--