summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/audio/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /drivers/sbus/audio/Makefile
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'drivers/sbus/audio/Makefile')
-rw-r--r--drivers/sbus/audio/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/drivers/sbus/audio/Makefile b/drivers/sbus/audio/Makefile
new file mode 100644
index 000000000..f870e0da5
--- /dev/null
+++ b/drivers/sbus/audio/Makefile
@@ -0,0 +1,54 @@
+#
+# Makefile for the linux kernel.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definitions are now in the main makefile...
+
+#
+# sbus audio drivers
+#
+
+O_TARGET := sparcaudio.o
+O_OBJS :=
+M_OBJS :=
+
+ifeq ($(CONFIG_SPARCAUDIO),y)
+M=y
+else
+ ifeq ($(CONFIG_SPARCAUDIO),m)
+ MM=y
+ endif
+endif
+
+ifeq ($(CONFIG_SPARCAUDIO_AMD7930),y)
+M=y
+O_OBJS += amd7930.o
+else
+ ifeq ($(CONFIG_SPARCAUDIO_AMD7930),m)
+ MM=y
+ M_OBJS += amd7930.o
+ endif
+endif
+
+ifeq ($(CONFIG_SPARCAUDIO_CS4231),y)
+M=y
+O_OBJS += cs4231.o
+else
+ ifeq ($(CONFIG_SPARCAUDIO_CS4231),m)
+ MM=y
+ M_OBJS += cs4231.o
+ endif
+endif
+
+ifdef M
+OX_OBJS += audio.o
+else
+ ifdef MM
+ MX_OBJS += audio.o
+ endif
+endif
+
+include $(TOPDIR)/Rules.make