patch-2.1.15 linux/drivers/char/Makefile

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

diff -u --recursive --new-file v2.1.14/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -78,6 +78,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_ESP),y)
+L_OBJS += esp.o
+else
+  ifeq ($(CONFIG_ESP),m)
+  M_OBJS += esp.o
+  endif
+endif
+
 ifeq ($(CONFIG_ATIXL_BUSMOUSE),y)
 M = y
 L_OBJS += atixlmouse.o
@@ -171,7 +179,11 @@
 endif
 
 ifdef CONFIG_QIC02_TAPE
-L_OBJS += tpqic02.o 
+  ifeq ($(CONFIG_QIC02_TAPE),m)
+    M_OBJS += tpqic02.o
+  else
+    L_OBJS += tpqic02.o 
+  endif
 endif
 
 ifeq ($(CONFIG_FTAPE),y)

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