Re: 2.5.42 (-mm): AIC7XXX_BUILD_FIRMWARE=y NO go.

From: Sam Ravnborg (sam@ravnborg.org)
Date: Sun Oct 13 2002 - 15:21:02 EST


On Sun, Oct 13, 2002 at 12:01:47AM +0200, Dieter Nützel wrote:
> make -f drivers/scsi/aic7xxx/Makefile
> drivers/scsi/aic7xxx/aicasm/aicasm -I. -r drivers/scsi/aic7xxx/aic7xxx_reg.h \
> -o drivers/scsi/aic7xxx/aic7xxx_seq.h
> drivers/scsi/aic7xxx/aic7xxx.seq
> aic7xxx.reg: No such file or directory
> drivers/scsi/aic7xxx/aicasm/aicasm: Stopped at file
> drivers/scsi/aic7xxx/aic7xxx.seq, line 89 - Unable to open input file
> drivers/scsi/aic7xxx/aicasm/aicasm: Removing
> drivers/scsi/aic7xxx/aic7xxx_seq.h due to error
> drivers/scsi/aic7xxx/aicasm/aicasm: Removing
> drivers/scsi/aic7xxx/aic7xxx_reg.h due to error
> make[3]: *** [drivers/scsi/aic7xxx/aic7xxx_seq.h] Error 70
> make[2]: *** [drivers/scsi/aic7xxx] Error 2
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2

aicasm is fooled now when the build is made from the top level directory.
This patch fixes the firmware build.

Justin - will you please forward to Linus

        Sam

===== drivers/scsi/aic7xxx/Makefile 1.12 vs edited =====
--- 1.12/drivers/scsi/aic7xxx/Makefile Wed Jun 19 04:52:38 2002
+++ edited/drivers/scsi/aic7xxx/Makefile Sun Oct 13 22:13:43 2002
@@ -33,7 +33,7 @@
 $(obj)/aic7xxx_seq.h $(obj)/aic7xxx_reg.h: $(src)/aic7xxx.seq \
                                            $(src)/aic7xxx.reg \
                                            $(obj)/aicasm/aicasm
- $(obj)/aicasm/aicasm -I. -r $(obj)/aic7xxx_reg.h \
+ $(obj)/aicasm/aicasm -I$(src) -r $(obj)/aic7xxx_reg.h \
                                  -o $(obj)/aic7xxx_seq.h $(src)/aic7xxx.seq
 
 $(obj)/aicasm/aicasm: $(src)/aicasm/*.[chyl]
-
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:47 EST