patch-1.3.81 linux/drivers/char/Makefile

Next file: linux/drivers/char/atixlmouse.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.80/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -100,10 +100,15 @@
   endif
 endif
 
+ifeq ($(CONFIG_UMISC),y)
+# To support third-party modules, misc.c must reside in the kernel
+M = y
+endif
+
 ifdef CONFIG_SOFT_WATCHDOG
 L_OBJS += softdog.o
 M = y
-# This is not modularized, so if configured then "mouse.c" will be resident
+# This is not modularized, so if configured then "misc.c" will be resident
 endif
 
 ifeq ($(CONFIG_WDT),y)
@@ -134,10 +139,10 @@
 endif
 
 ifdef M
-LX_OBJS += mouse.o
+LX_OBJS += misc.o
 else
   ifdef MM
-  MX_OBJS += mouse.o
+  MX_OBJS += misc.o
   endif
 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