summaryrefslogtreecommitdiffstats
path: root/drivers/sound/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/Makefile')
-rw-r--r--drivers/sound/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/sound/Makefile b/drivers/sound/Makefile
index 499521c9f..b0a3483d5 100644
--- a/drivers/sound/Makefile
+++ b/drivers/sound/Makefile
@@ -4,7 +4,33 @@
# parent makes. (hopefully)
#
#
+#
+#
+ifeq ($(ARCH),m68k)
+ L_TARGET := sound.a
+ L_OBJS :=
+ M_OBJS :=
+ ifeq ($(CONFIG_DMASOUND),y)
+ L_OBJS += dmasound.o
+ else
+ ifeq ($(CONFIG_DMASOUND),m)
+ M_OBJS += dmasound.o
+ endif
+ endif
+
+ include $(TOPDIR)/Rules.make
+
+ clean:
+ rm -f core *.o *.a *.s
+
+ # dummy rule to keep 'make xconfig' happy
+ mkscript:
+
+# More dummy targets for make [menu]config
+mkscript:
+kernelconfig:
+else
.PHONY: dummy
SUB_DIRS = lowlevel
VERSION = `head -1 .version`
@@ -36,6 +62,7 @@ build:
install: sound.o
cp sound.o $(MODULEDIR)
+else
endif
.c.o:
@@ -161,3 +188,4 @@ ifeq (.depend,$(wildcard .depend))
include .depend
endif
endif
+endif