Update of /cvsroot/alsa/alsa-kernel/pci/trident
In directory sc8-pr-cvs1:/tmp/cvs-serv2987/pci/trident

Modified Files:
        Makefile 
Log Message:
Fixed Makefiles for kernel when CONFIG_SND_SEQUENCER is m, but the toplevel
module is y.


Index: Makefile
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/trident/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile    17 Dec 2002 20:00:56 -0000      1.5
+++ Makefile    28 Jan 2003 14:49:51 -0000      1.6
@@ -8,8 +8,14 @@
 snd-trident-objs := trident.o trident_main.o trident_memory.o
 snd-trident-synth-objs := trident_synth.o
 
+#
+# this function returns:
+#   "m" - CONFIG_SND_SEQUENCER is m
+#   <empty string> - CONFIG_SND_SEQUENCER is undefined
+#   otherwise parameter #1 value
+#
+sequencer := $(if $(subst y,,$(CONFIG_SND_SEQUENCER)),m,$(if 
+$(CONFIG_SND_SEQUENCER),$(1)))
+
 # Toplevel Module Dependency
 obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
-ifeq ($(subst m,y,$(CONFIG_SND_SEQUENCER)),y)
-  obj-$(CONFIG_SND_TRIDENT) += snd-trident-synth.o
-endif
+obj-$(call sequencer,$(CONFIG_SND_TRIDENT)) += snd-trident-synth.o



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to