patch-1.3.41 linux/drivers/char/Makefile

Next file: linux/drivers/char/cyclades.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.40/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -20,8 +20,12 @@
 	tty_ioctl.o pty.o vt.o mem.o vc_screen.o random.o \
 	defkeymap.o consolemap.o selection.o
 
-ifdef CONFIG_CYCLADES
+ifeq ($(CONFIG_CYCLADES),y)
 L_OBJS += cyclades.o
+else
+  ifeq ($(CONFIG_CYCLADES),m)
+  M_OBJS += cyclades.o
+  endif
 endif
 
 ifeq ($(CONFIG_STALLION),y)

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