On Tue, 2002-04-09 at 19:02, Keith Owens wrote:

> It works for me.  It looks like the USER command to copy the .h files
> from source to object has failed.  There might be some crud lying
> around that is confusing the timestamps.

It was still failing for me after deleting the aic7xxx obj directory,
running make mrproper, etc.  The USER command was not being run for
aic7xxx_seq.h, however it was running for aic7xxx_reg.h, so I figured it
was not getting the dependencies correct.  This patch made it work for
me.  (cause it really is aic7xxx_core.o that is depends on
aic7xxx_seq.h)

Now, the USER for aic7xxx_seq.h gets run right before aic7xxx_core.o is
CC'ed.

Did you change your Makefile.in from the one in common-2?

-tduffy
--- linux-2.4.18+kbuild-v2.0/drivers/scsi/aic7xxx/Makefile.in.orig      Tue Apr  9 
11:27:30 2002
+++ linux-2.4.18+kbuild-v2.0/drivers/scsi/aic7xxx/Makefile.in   Tue Apr  9 19:40:26 
+2002
@@ -29,7 +29,7 @@
 
 # Only aic7xxx.c includes aic7xxx_seq.h.
 
-$(objfile aic7xxx.o): $(objfile aic7xxx_seq.h)
+$(objfile aic7xxx_core.o): $(objfile aic7xxx_seq.h)
 
 # aic7xxx_reg.h is messy.  It is included by aic7xxx.h which is included by
 # aic7xxx_osm.h which is included by several .c files.  Play safe and make all

Reply via email to