patch-pre2.0.14-final2.0 linux/drivers/scsi/Makefile

Next file: linux/drivers/scsi/aha152x.c
Previous file: linux/drivers/net/eexpress.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.14/linux/drivers/scsi/Makefile linux/drivers/scsi/Makefile
@@ -35,7 +35,10 @@
 endif
 
 ifeq ($(CONFIG_SCSI),y)
-L_OBJS += hosts.o scsi.o scsi_ioctl.o constants.o scsicam.o scsi_proc.o
+L_OBJS += hosts.o scsi.o scsi_ioctl.o constants.o scsicam.o
+  ifeq ($(CONFIG_PROC_FS),y)
+    L_OBJS += scsi_proc.o
+  endif
 LX_OBJS += scsi_syms.o
 else
   ifeq ($(CONFIG_SCSI),m)

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