[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080203045441.GA12128@elte.hu>
Date: Sun, 3 Feb 2008 05:54:41 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Sam Ravnborg <sam@...nborg.org>
Cc: linux-kernel@...r.kernel.org, Jens Axboe <jens.axboe@...cle.com>,
Hannes Reinecke <hare@...e.de>,
James Bottomley <James.Bottomley@...eleye.com>,
Christoph Hellwig <hch@....de>
Subject: [patch] scsi: fix spurious build failures in aic7xxx
* Ingo Molnar <mingo@...e.hu> wrote:
> > I could not reproduce the bug myself but I think I spotted it. We
> > had a missing dependency to the _reg.h file. Try following patch and
> > let me now if it continue to break.
>
> thanks! I threw this into the test setup and will know by tomorrow
> whether there's any breakage.
good news: hundreds of successful kernel builds and no failures
overnight. I've Cc:-ed the aic7xxx people.
Ingo
------------------->
Subject: scsi: fix spurious build failures in aic7xxx
From: Sam Ravnborg <sam@...nborg.org>
We had a missing dependency to the _reg.h file.
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
drivers/scsi/aic7xxx/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
Index: linux/drivers/scsi/aic7xxx/Makefile
===================================================================
--- linux.orig/drivers/scsi/aic7xxx/Makefile
+++ linux/drivers/scsi/aic7xxx/Makefile
@@ -44,13 +44,8 @@ clean-files += aic79xx_seq.h aic79xx_reg
# Dependencies for generated files need to be listed explicitly
-$(obj)/aic7xxx_core.o: $(obj)/aic7xxx_seq.h
-$(obj)/aic7xxx_core.o: $(obj)/aic7xxx_reg.h
-$(obj)/aic79xx_core.o: $(obj)/aic79xx_seq.h
-$(obj)/aic79xx_core.o: $(obj)/aic79xx_reg.h
-
-$(addprefix $(obj)/,$(aic7xxx-y)): $(obj)/aic7xxx_seq.h
-$(addprefix $(obj)/,$(aic79xx-y)): $(obj)/aic79xx_seq.h
+$(addprefix $(obj)/,$(aic7xxx-y:.o=.c)): $(obj)/aic7xxx_seq.h $(obj)/aic7xxx_reg.h
+$(addprefix $(obj)/,$(aic79xx-y:.o=.c)): $(obj)/aic79xx_seq.h $(obj)/aic79xx_reg.h
aic7xxx-gen-$(CONFIG_AIC7XXX_BUILD_FIRMWARE) := $(obj)/aic7xxx_reg.h
aic7xxx-gen-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) += $(obj)/aic7xxx_reg_print.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists