patch-1.3.96 linux/drivers/sbus/Makefile

Next file: linux/drivers/sbus/char/Makefile
Previous file: linux/drivers/net/de4x5.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.95/linux/drivers/sbus/Makefile linux/drivers/sbus/Makefile
@@ -7,7 +7,18 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
+SUB_DIRS     :=
+MOD_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS) char
+
 L_OBJS   := sbus.o dvma.o
 L_TARGET := sbus.a
+
+# Character devices for SBUS-based machines.
+#
+ifeq ($(CONFIG_SBUSCHAR),y)
+SUB_DIRS += char
+L_OBJS += char/sunchar.o
+endif
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this