patch-1.3.24 linux/drivers/char/Makefile
Next file: linux/drivers/char/psaux.c
Previous file: linux/drivers/block/ramdisk.c
Back to the patch index
Back to the overall index
-  Lines: 15
 -  Date:
Mon Sep  4 07:31:53 1995
 -  Orig file: 
v1.3.23/linux/drivers/char/Makefile
 -  Orig date: 
Tue Aug 15 20:39:02 1995
 
diff -u --recursive --new-file v1.3.23/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -34,10 +34,12 @@
 L_OBJS += busmouse.o
 endif
 
-ifdef CONFIG_PRINTER
+ifeq ($(CONFIG_PRINTER),y)
 L_OBJS += lp.o
 else
-M_OBJS += lp.o
+  ifeq ($(CONFIG_PRINTER),m)
+  M_OBJS += lp.o
+  endif
 endif
 
 ifdef CONFIG_MS_BUSMOUSE
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