patch-2.1.17 linux/drivers/char/Makefile

Next file: linux/drivers/char/amigamouse.c
Previous file: linux/drivers/cdrom/bpcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -159,8 +159,36 @@
   endif
 endif
 
+ifeq ($(CONFIG_AMIGAMOUSE),y)
+M = y
+L_OBJS += amigamouse.o
+else
+  ifeq ($(CONFIG_AMIGAMOUSE),m)
+    M_OBJS += amigamouse.o
+    MM = m
+  endif
+endif
+
+ifeq ($(CONFIG_ATARIMOUSE),y)
+M = y
+L_OBJS += atarimouse.o
+else
+  ifeq ($(CONFIG_ATARIMOUSE),m)
+    M_OBJS += atarimouse.o
+    MM = m
+  endif
+endif
+
 ifdef CONFIG_SUN_MOUSE
 M = y
+endif
+
+ifeq ($(CONFIG_SUN_OPENPROMIO),y)
+M = y
+else
+  ifeq ($(CONFIG_SUN_OPENPROMIO),m)
+  MM = m
+  endif
 endif
 
 ifeq ($(CONFIG_WDT),y)

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