summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-02-15 02:15:32 +0000
commit86464aed71025541805e7b1515541aee89879e33 (patch)
treee01a457a4912a8553bc65524aa3125d51f29f810 /drivers/scsi/Makefile
parent88f99939ecc6a95a79614574cb7d95ffccfc3466 (diff)
Merge with Linux 2.2.1.
Diffstat (limited to 'drivers/scsi/Makefile')
-rw-r--r--drivers/scsi/Makefile52
1 files changed, 49 insertions, 3 deletions
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
index 73c433ff1..28c11f7b6 100644
--- a/drivers/scsi/Makefile
+++ b/drivers/scsi/Makefile
@@ -41,9 +41,7 @@ ifeq ($(CONFIG_SCSI),y)
endif
L_OBJS += scsi_n_syms.o hosts.o scsi_ioctl.o constants.o scsicam.o
L_OBJS += scsi_error.o scsi_obsolete.o scsi_queue.o
- ifeq ($(CONFIG_PROC_FS),y)
- L_OBJS += scsi_proc.o
- endif
+ L_OBJS += scsi_proc.o
else
ifeq ($(CONFIG_SCSI),m)
MIX_OBJS += scsi_syms.o
@@ -195,6 +193,14 @@ else
endif
endif
+ifeq ($(CONFIG_SCSI_MCA_53C9X),y)
+L_OBJS += NCR53C9x.o mca_53c9x.o
+else
+ ifeq ($(CONFIG_SCSI_MCA_53C9X),m)
+ M_OBJS += NCR53C9x.o mca_53c9x.o
+ endif
+endif
+
ifeq ($(CONFIG_CYBERSTORM_SCSI),y)
L_OBJS += NCR53C9x.o cyberstorm.o
else
@@ -276,6 +282,29 @@ else
endif
endif
+ifeq ($(CONFIG_SCSI_ACARD),y)
+L_OBJS += atp870u.o
+else
+ ifeq ($(CONFIG_SCSI_ACARD),m)
+ M_OBJS += atp870u.o
+ endif
+endif
+
+ifeq ($(CONFIG_SCSI_INITIO),y)
+L_OBJS += initio.o
+else
+ ifeq ($(CONFIG_SCSI_INITIO),m)
+ M_OBJS += initio.o
+ endif
+endif
+
+ifeq ($(CONFIG_SCSI_QLOGIC_FC),y)
+L_OBJS += qlogicfc.o
+else
+ ifeq ($(CONFIG_SCSI_QLOGIC_FC),m)
+ M_OBJS += qlogicfc.o
+ endif
+endif
ifeq ($(CONFIG_SCSI_AHA152X),y)
L_OBJS += aha152x.o
@@ -539,6 +568,14 @@ else
endif
endif
+ifeq ($(CONFIG_SCSI_MEGARAID),y)
+L_OBJS += megaraid.o
+else
+ ifeq ($(CONFIG_SCSI_MEGARAID),m)
+ M_OBJS += megaraid.o
+ endif
+endif
+
ifeq ($(CONFIG_BLK_DEV_IDESCSI),y)
L_OBJS += ide-scsi.o
else
@@ -574,6 +611,15 @@ include $(TOPDIR)/Rules.make
53c7xx.o : 53c7xx_d.h 53c7xx.c
$(CC) $(CFLAGS) -c 53c7xx.c
+initio.o: ini9100u.c i91uscsi.c
+ $(CC) $(CFLAGS) -c ini9100u.c -o ini9100u.o
+ $(CC) $(CFLAGS) -c i91uscsi.c -o i91uscsi.o
+ $(LD) -r -o initio.o ini9100u.o i91uscsi.o
+ rm -f ini9100u.o i91uscsi.o
+
+megaraid.o: megaraid.c
+ $(CC) $(CFLAGS) -c megaraid.c
+
scsi_mod.o: $(MIX_OBJS) hosts.o scsi.o scsi_ioctl.o constants.o \
scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o
$(LD) $(LD_RFLAG) -r -o $@ $(MIX_OBJS) hosts.o scsi.o scsi_ioctl.o \