patch-2.2.19 linux/drivers/char/Makefile

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

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/char/Makefile linux/drivers/char/Makefile
@@ -200,7 +200,13 @@
   endif
 endif
 
-obj-$(CONFIG_SX) += sx.o generic_serial.o
+ifeq ($(CONFIG_SX),y)
+O_OBJS += sx.o generic_serial.o
+else
+  ifeq ($(CONFIG_SX),m)
+  M_OBJS += sx.o generic_serial.o
+  endif
+endif
 
 ifeq ($(CONFIG_RIO),y)
 O_OBJS += rio/rio.o generic_serial.o
@@ -295,6 +301,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_ADVANTECH_WDT),y)
+O_OBJS += advantechwdt.o
+else
+  ifeq ($(CONFIG_ADVANTECH_WDT),m)
+  M_OBJS += advantechwdt.o
+  endif
+endif
+
 ifeq ($(CONFIG_60XX_WDT),y)
 O_OBJS += sbc60xxwdt.o
 else
@@ -678,6 +692,14 @@
 else
   ifeq ($(CONFIG_TOSHIBA),m)
   M_OBJS += toshiba.o
+  endif
+endif
+
+ifeq ($(CONFIG_I810_TCO),y)
+O_OBJS += i810-tco.o
+else
+  ifeq ($(CONFIG_I810_TCO),m)
+  M_OBJS += i810-tco.o
   endif
 endif
 

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