patch-2.0.11 linux/drivers/char/Makefile

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

diff -u --recursive --new-file v2.0.10/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -40,6 +40,10 @@
 
 ifeq ($(CONFIG_DIGI),y)
 L_OBJS += pcxx.o
+else
+  ifeq ($(CONFIG_DIGI),m)
+  M_OBJS += pcxx.o
+  endif
 endif
 
 ifeq ($(CONFIG_CYCLADES),y)
@@ -189,6 +193,16 @@
   M_OBJS += scc.o
   endif
 endif  
+
+ifeq ($(CONFIG_PCWATCHDOG),y)
+M = y
+L_OBJS += pcwd.o
+else
+  ifeq ($(CONFIG_PCWATCHDOG),m)
+  M_OBJS += pcwd.o
+  MM = m
+  endif
+endif
 
 ifeq ($(CONFIG_BAYCOM),y)
 L_OBJS += baycom.o

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