2002-10-02 08:01:05

by Marc-Christian Petersen

[permalink] [raw]
Subject: [PATCH] ALSA 'make menuconfig exits' fix

Hi,

attached patch fixes "make menuconfig" crashes when entering Sound/ALSA.

Dunno if it is the correct way but it works. Consider this as a workaround.

--
Kind regards
Marc-Christian Petersen

http://sourceforge.net/projects/wolk

PGP/GnuPG Key: 1024D/569DE2E3DB441A16
Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
Key available at http://www.keyserver.net. Encrypted e-mail preferred.


Attachments:
72_fix-alsasoundsparc32-64.patch (551.00 B)

2002-10-02 14:01:39

by Roman Zippel

[permalink] [raw]
Subject: Re: [PATCH] ALSA 'make menuconfig exits' fix

Hi,

Marc-Christian Petersen wrote:

> attached patch fixes "make menuconfig" crashes when entering Sound/ALSA.
>
> Dunno if it is the correct way but it works. Consider this as a workaround.

This is no valid config syntax.
Below is a better patch + another sparc sound config fix.
Linus, please apply.

bye, Roman

--- linux/arch/sparc/config.in 2002/10/02 09:30:33 1.1.1.14
+++ linux/arch/sparc/config.in 2002/10/02 12:44:45
@@ -222,6 +224,9 @@ source drivers/input/Config.in

source fs/Config.in

+mainmenu_option next_comment
+comment 'Sound'
+
tristate 'Sound card support' CONFIG_SOUND
if [ "$CONFIG_SOUND" != "n" ]; then
source sound/Config.in
--- linux/sound/Config.in 2002/10/02 09:34:47 1.1.1.3
+++ linux/sound/Config.in 2002/10/02 10:23:26
@@ -31,11 +31,10 @@ fi
if [ "$CONFIG_SND" != "n" -a "$CONFIG_ARM" = "y" ]; then
source sound/arm/Config.in
fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC32" = "y" ]; then
- source sound/sparc/Config.in
-fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC64" = "y" ]; then
- source sound/sparc/Config.in
+if [ "$CONFIG_SND" != "n" ]; then
+ if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
+ source sound/sparc/Config.in
+ fi
fi

endmenu

2002-10-02 16:41:11

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH] ALSA 'make menuconfig exits' fix

On Wed, Oct 02, 2002 at 04:07:02PM +0200, Roman Zippel wrote:
> Below is a better patch + another sparc sound config fix.

Speaking about SPARC and audio:
Is the following line in drivers/sbus/Mafilefile bogus?
obj-$(CONFIG_SPARCAUDIO) += audio/

There is no audio directory as of today.

Sam