patch-2.2.13 linux/drivers/scsi/Makefile

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

diff -u --recursive --new-file v2.2.12/linux/drivers/scsi/Makefile linux/drivers/scsi/Makefile
@@ -129,6 +129,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_SCSI_SIM710),y)
+L_OBJS += sim710.o
+else
+  ifeq ($(CONFIG_SCSI_SIM710),m)
+  M_OBJS += sim710.o
+  endif
+endif
+
 ifeq ($(CONFIG_A4000T_SCSI),y)
 L_OBJS += amiga7xx.o 53c7xx.o
 else
@@ -346,6 +354,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_SCSI_IPS),y)
+L_OBJS += ips.o
+else
+  ifeq ($(CONFIG_SCSI_IPS),m)
+  M_OBJS += ips.o
+  endif
+endif
+
 ifeq ($(CONFIG_SCSI_DC390T),y)
 L_OBJS += tmscsim.o
 else
@@ -645,6 +661,18 @@
 
 53c7xx.o : 53c7xx_d.h 53c7xx.c
 	$(CC) $(CFLAGS) -c 53c7xx.c
+
+sim710_d.h: sim710.scr script_asm.pl
+	ln -sf sim710.scr fake7.c
+#	$(CPP) -traditional -DCHIP=810 fake7.c | grep -v '^#' | perl -s script_asm.pl
+	$(CPP) -traditional -DCHIP=710 fake7.c | grep -v '^#' | perl -s script_asm.pl -ncr7x0_family
+	mv script.h sim710_d.h
+	mv scriptu.h sim710_u.h
+	rm fake7.c
+
+sim710_u.h: sim710_d.h
+
+sim710.o : sim710_d.h
 
 initio.o: ini9100u.c i91uscsi.c
 	$(CC) $(CFLAGS) -c ini9100u.c -o ini9100u.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)