From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] let 2.5.51 build Date: Wed, 11 Dec 2002 18:58:52 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Thierry Vignaud Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 11 Dec 2002 16:51:23 +0100, Thierry Vignaud wrote: > > Takashi Iwai writes: > > > > this patch enable 2.5.51 kernel to build without sequencer support : > > > > hmm, applying this is surely harmless but i still don't figure out > > why this fixes the bug. synth/emux/Makefile is: > > > > snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ > > emux_effect.o emux_proc.o soundfont.o > > ifeq ($(CONFIG_SND_SEQUENCER_OSS),y) > > snd-emux-synth-objs += emux_oss.o > > endif > > > > # Toplevel Module Dependency > > ifeq ($(subst m,y,$(CONFIG_SND_SEQUENCER)),y) > > obj-$(CONFIG_SND_SBAWE) += snd-emux-synth.o > > obj-$(CONFIG_SND_EMU10K1) += snd-emux-synth.o > > endif > > > > and if $CONFIG_SND_SEQUENCER is n, snd-emux-synth.o will be never > > compiled nor built-in... > > hummmm. must be some sort of "too late in the night to compile a > kernel" workaround for a broken make rule (was not able to build > emux/built-in.o if i remember right) looking at the thread on lkml, it seems that we need at least one non-empty obj-* definition. changing synth/emux/Makefile is also a hack... anyway your patch is a workaround until Makefile.kbuild is fixed. i'll apply it. Takashi ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/