patch-2.0.3 linux/drivers/scsi/Makefile

Next file: linux/drivers/scsi/README.ncr53c8xx
Previous file: linux/drivers/scsi/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.2/linux/drivers/scsi/Makefile linux/drivers/scsi/Makefile
@@ -263,6 +263,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_SCSI_NCR53C8XX),y)
+L_OBJS += ncr53c8xx.o 
+else
+  ifeq ($(CONFIG_SCSI_NCR53C8XX),m)
+  M_OBJS += ncr53c8xx.o
+  endif
+endif
+
 ifeq ($(CONFIG_SCSI_PAS16),y)
 L_OBJS += pas16.o
 else
@@ -361,6 +369,9 @@
 	mv script.h 53c8xx_d.h
 	mv scriptu.h 53c8xx_u.h
 	rm fake.c
+
+ncr53c8xx.o : ncr53c8xx.c
+	$(CC) $(CFLAGS) -c ncr53c8xx.c
 
 scsi_mod.o: $(MX_OBJS) hosts.o scsi.o scsi_ioctl.o constants.o \
 		scsicam.o scsi_proc.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov