patch-2.1.29 linux/drivers/sbus/Makefile

Next file: linux/drivers/sbus/audio/Config.in
Previous file: linux/drivers/pci/pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/drivers/sbus/Makefile linux/drivers/sbus/Makefile
@@ -8,8 +8,8 @@
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
 SUB_DIRS     :=
-MOD_SUB_DIRS := $(SUB_DIRS) char
-ALL_SUB_DIRS := $(SUB_DIRS) char
+MOD_SUB_DIRS := $(SUB_DIRS) char audio
+ALL_SUB_DIRS := $(SUB_DIRS) char audio
 
 L_OBJS   := sbus.o dvma.o
 L_TARGET := sbus.a
@@ -19,6 +19,13 @@
 ifeq ($(CONFIG_SBUSCHAR),y)
 SUB_DIRS += char
 L_OBJS += char/sunchar.o
+endif
+
+# Audio devices for SBUS-based machines.
+#
+ifeq ($(CONFIG_SPARCAUDIO),y)
+SUB_DIRS += audio
+L_OBJS += audio/sparcaudio.o
 endif
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov