patch-2.4.5 linux/drivers/scsi/aic7xxx/Makefile
Next file: linux/drivers/scsi/aic7xxx/aic7770.c
Previous file: linux/drivers/scsi/aic7xxx/Config.in
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri May 4 15:16:28 2001
- Orig file:
v2.4.4/linux/drivers/scsi/aic7xxx/Makefile
- Orig date:
Sun Mar 4 14:30:18 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/scsi/aic7xxx/Makefile linux/drivers/scsi/aic7xxx/Makefile
@@ -4,7 +4,7 @@
# Makefile for the Linux aic7xxx SCSI driver.
#
-O_TARGET = aic7xxx_drv.o
+O_TARGET := aic7xxx_drv.o
list-multi := aic7xxx_mod.o
@@ -25,8 +25,13 @@
aic7xxx_mod.o: aic7xxx_seq.h aic7xxx_reg.h $(AIC7XXX_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ $(AIC7XXX_OBJS)
+ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
aic7xxx_seq.h aic7xxx_reg.h: aic7xxx.seq aic7xxx.reg aicasm/aicasm
aicasm/aicasm -I. -r aic7xxx_reg.h -o aic7xxx_seq.h aic7xxx.seq
+else
+aic7xxx_seq.h aic7xxx_reg.h: aic7xxx.seq aic7xxx.reg
+ echo "Warning, generated aic7xxx firmware files may be out of date!\n"
+endif
aicasm/aicasm: aicasm/*.[chyl]
$(MAKE) -C aicasm
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)