[alsa-devel] [PATCH] ad1848-lib Makefile cleanup

Krzysztof Helt krzysztof.h1 at wp.pl
Thu Aug 9 19:06:43 CEST 2007


From: Krzysztof Helt <krzysztof.h1 at wp.pl>

This patch uses the Kconfig parameter SND_AD1848_LIB instead
of mentioning each driver that requires the ad1848-lib separately
in the Makefile.

Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
---

diff -urp linux-2.6.23.old/sound/isa/ad1848/Makefile linux-2.6.23/sound/isa/ad1848/Makefile
--- linux-2.6.23.old/sound/isa/ad1848/Makefile	2007-08-04 22:12:08.000000000 +0200
+++ linux-2.6.23/sound/isa/ad1848/Makefile	2007-08-08 18:53:20.000000000 +0200
@@ -7,9 +7,7 @@ snd-ad1848-lib-objs := ad1848_lib.o
 snd-ad1848-objs := ad1848.o
 
 # Toplevel Module Dependency
-obj-$(CONFIG_SND_CMI8330) += snd-ad1848-lib.o
-obj-$(CONFIG_SND_SGALAXY) += snd-ad1848-lib.o
 obj-$(CONFIG_SND_AD1848) += snd-ad1848.o snd-ad1848-lib.o
-obj-$(CONFIG_SND_OPTI92X_AD1848) += snd-ad1848-lib.o
+obj-$(CONFIG_SND_AD1848_LIB) += snd-ad1848-lib.o
 
 obj-m := $(sort $(obj-m))


More information about the Alsa-devel mailing list