Re: [PATCH] ALSA 'make menuconfig exits' fix

Roman Zippel (zippel@linux-m68k.org)
Wed, 02 Oct 2002 16:07:02 +0200


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/