patch-1.3.60 linux/drivers/char/Makefile

Next file: linux/drivers/char/mouse.c
Previous file: linux/drivers/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -98,6 +98,16 @@
 # This is not modularized, so if configured then "mouse.c" will be resident
 endif
 
+ifeq ($(CONFIG_WDT),y)
+M = y
+L_OBJS += wdt.o
+else
+  ifeq ($(CONFIG_WDT),m)
+    M_OBJS += wdt.o
+    MM = m
+  endif
+endif
+
 ifdef CONFIG_QIC02_TAPE
 L_OBJS += tpqic02.o 
 endif

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