patch-1.3.69 linux/drivers/char/Makefile

Next file: linux/drivers/char/mem.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.68/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -16,9 +16,13 @@
 
 L_TARGET := char.a
 M_OBJS   :=
-L_OBJS   := tty_io.o n_tty.o console.o keyboard.o serial.o \
+L_OBJS   := tty_io.o n_tty.o console.o keyboard.o \
 	tty_ioctl.o pty.o vt.o mem.o vc_screen.o random.o \
 	defkeymap.o consolemap.o selection.o
+
+ifeq ($(CONFIG_SERIAL),y)
+L_OBJS += serial.o
+endif
 
 ifeq ($(CONFIG_CYCLADES),y)
 L_OBJS += cyclades.o

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