patch-2.4.3 linux/drivers/sbus/Makefile

Next file: linux/drivers/sbus/audio/cs4231.c
Previous file: linux/drivers/s390/s390mach.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/sbus/Makefile linux/drivers/sbus/Makefile
@@ -18,6 +18,10 @@
 
 subdir-y += audio
 subdir-m += audio
-obj-$(CONFIG_SPARCAUDIO) += audio/sparcaudio.o
+
+# This is grotty but works around some problems with modules.
+ifeq ($(CONFIG_SPARCAUDIO),y)
+obj-y += audio/sparcaudio.o
+endif
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)