patch-1.3.52 linux/fs/proc/Makefile

Next file: linux/fs/proc/array.c
Previous file: linux/fs/open.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.51/linux/fs/proc/Makefile linux/fs/proc/Makefile
@@ -8,7 +8,12 @@
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
 O_TARGET := proc.o
-O_OBJS   := inode.o root.o base.o mem.o link.o fd.o array.o kmsg.o net.o scsi.o
+O_OBJS   := inode.o root.o base.o mem.o link.o fd.o array.o kmsg.o net.o
 M_OBJS   := $(O_TARGET)
+
+# For either CONFIG_SCSI=y or CONFIG_SCSI=m
+ifdef CONFIG_SCSI
+O_OBJS += scsi.o
+endif
 
 include $(TOPDIR)/Rules.make

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