[TRIVIAL] aic7xxx/Makefile fix

junio@siamese.dyndns.org
28 Aug 2002 14:21:27 -0700


Patch against 2.4.19. If you are in a (good) habit of making
all the upstream sources read-only before starting your build,
generation of the firmware code fails because it tries to write
into read-only files. This bites only in configurations where
CONFIG_AIC7XXX_BUILD_FIRMWARE is set to 'y'.

--- 2.4.19/drivers/scsi/aic7xxx/Makefile 2002-08-02 10:48:53.000000000 -0700
+++ 2.4.19/drivers/scsi/aic7xxx/Makefile 2002-08-28 14:14:31.000000000 -0700
@@ -39,6 +39,7 @@
$(obj-aic7xxx): aic7xxx_reg.h

aic7xxx_seq.h aic7xxx_reg.h: aic7xxx.seq aic7xxx.reg aicasm/aicasm
+ rm -f aic7xxx_seq.h aic7xxx_reg.h
aicasm/aicasm -I. -r aic7xxx_reg.h -o aic7xxx_seq.h aic7xxx.seq
endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/