linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA 'make menuconfig exits' fix
@ 2002-10-02  8:06 Marc-Christian Petersen
  0 siblings, 0 replies; 3+ messages in thread
From: Marc-Christian Petersen @ 2002-10-02  8:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: Michael Knigge, Nicolas Bouliane, Andreas Boman

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

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 www.keyserver.net. Encrypted e-mail preferred.

[-- Attachment #2: 72_fix-alsasoundsparc32-64.patch --]
[-- Type: text/x-diff, Size: 551 bytes --]

--- linux/sound/Config.in	2002-10-01 12:09:44.000000000 +0200
+++ linux/sound/Config.in	2002-10-01 12:21:05.000000000 +0200
@@ -31,10 +31,7 @@
 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
+if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC32" = "y" ] || [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC64" = "y" ] ; then
   source sound/sparc/Config.in
 fi
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ALSA 'make menuconfig exits' fix
  2002-10-02 14:07 Roman Zippel
@ 2002-10-02 16:46 ` Sam Ravnborg
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2002-10-02 16:46 UTC (permalink / raw)
  To: Roman Zippel; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ALSA 'make menuconfig exits' fix
@ 2002-10-02 14:07 Roman Zippel
  2002-10-02 16:46 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Zippel @ 2002-10-02 14:07 UTC (permalink / raw)
  To: m.c.p; +Cc: linux-kernel, torvalds

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-02 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02  8:06 [PATCH] ALSA 'make menuconfig exits' fix Marc-Christian Petersen
2002-10-02 14:07 Roman Zippel
2002-10-02 16:46 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).