From edb5c61526e98426a5f3da889463c2b8d85d04c0 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 3 Jun 1997 07:28:06 +0000 Subject: Sync with Linux 2.1.41 --- drivers/sound/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'drivers/sound/Makefile') 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 -- cgit v1.2.3