linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: John Cherry <cherry@osdl.org>
To: Andrew Morton <akpm@osdl.org>
Cc: "Justin T. Gibbs" <gibbs@scsiguy.com>, linux-mm@kvack.org
Subject: Re: [PATCH] aic7xxx parallel build
Date: Fri, 23 Jan 2004 11:48:03 -0800	[thread overview]
Message-ID: <1074887283.4537.15.camel@cherrytest.pdx.osdl.net> (raw)
In-Reply-To: <20040122174458.0bdf5f26.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

Andrew,

We are settled this time.  This patch fixes the aic7xxx parallel build
problem.  It was generated against 2.6.2-rc1-mm2.  It has passed the
compile regressions that were failing.

John

On Thu, 2004-01-22 at 17:44, Andrew Morton wrote:
> John Cherry <cherry@osdl.org> wrote:
> >
> > Can we get these changes back into Andrew's conduit?
> 
> Please send me a fresh patch when it's settled.

[-- Attachment #2: patch.aic7xxx_Makefiles --]
[-- Type: text/x-makefile, Size: 2455 bytes --]

--- linux-2.6.2-rc1-mm2/drivers/scsi/aic7xxx/Makefile	2004-01-20 19:50:41.000000000 -0800
+++ new/drivers/scsi/aic7xxx/Makefile	2004-01-22 16:57:32.000000000 -0800
@@ -1,7 +1,7 @@
 #
 # Makefile for the Linux aic7xxx SCSI driver.
 #
-# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#7 $
+# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#8 $
 #
 
 # Let kbuild descend into aicasm when cleaning
@@ -61,6 +58,13 @@ aicasm-7xxx-opts-$(CONFIG_AIC7XXX_REG_PR
 	-p $(obj)/aic7xxx_reg_print.c -i aic7xxx_osm.h
 
 ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
+# Create a dependency chain in generated files
+# to avoid concurrent invocations of the single
+# rule that builds them all.
+aic7xxx_seq.h: aic7xxx_reg.h
+ifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)
+aic7xxx_reg.h: aic7xxx_reg_print.c
+endif
 $(aic7xxx-gen-y): $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm
 	$(obj)/aicasm/aicasm -I$(src) -r $(obj)/aic7xxx_reg.h \
 			      $(aicasm-7xxx-opts-y) -o $(obj)/aic7xxx_seq.h \
@@ -75,6 +79,13 @@ aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PR
 	-p $(obj)/aic79xx_reg_print.c -i aic79xx_osm.h
 
 ifeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)
+# Create a dependency chain in generated files
+# to avoid concurrent invocations of the single
+# rule that builds them all.
+aic79xx_seq.h: aic79xx_reg.h
+ifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y)
+aic79xx_reg.h: aic79xx_reg_print.c
+endif
 $(aic79xx-gen-y): $(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm
 	$(obj)/aicasm/aicasm -I$(src) -r $(obj)/aic79xx_reg.h \
 			      $(aicasm-79xx-opts-y) -o $(obj)/aic79xx_seq.h \
--- linux-2.6.2-rc1-mm2/drivers/scsi/aic7xxx/aicasm/Makefile	2004-01-20 19:50:31.000000000 -0800
+++ new/drivers/scsi/aic7xxx/aicasm/Makefile	2004-01-22 16:58:22.000000000 -0800
@@ -49,11 +49,19 @@ aicdb.h:
 clean:
 	rm -f $(clean-files)
 
+# Create a dependency chain in generated files
+# to avoid concurrent invocations of the single
+# rule that builds them all.
+aicasm_gram.c: aicasm_gram.h
 aicasm_gram.c aicasm_gram.h: aicasm_gram.y
 	$(YACC) $(YFLAGS) -b $(<:.y=) $<
 	mv $(<:.y=).tab.c $(<:.y=.c)
 	mv $(<:.y=).tab.h $(<:.y=.h)
 
+# Create a dependency chain in generated files
+# to avoid concurrent invocations of the single
+# rule that builds them all.
+aicasm_macro_gram.c: aicasm_macro_gram.h
 aicasm_macro_gram.c aicasm_macro_gram.h: aicasm_macro_gram.y
 	$(YACC) $(YFLAGS) -b $(<:.y=) -p mm $<
 	mv $(<:.y=).tab.c $(<:.y=.c)

      parent reply	other threads:[~2004-01-23 19:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 19:38 John Cherry
2004-01-23  0:53 ` Justin T. Gibbs
2004-01-23  0:54   ` John Cherry
2004-01-23  1:05     ` John Cherry
     [not found]       ` <20040122174458.0bdf5f26.akpm@osdl.org>
2004-01-23 19:48         ` John Cherry [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1074887283.4537.15.camel@cherrytest.pdx.osdl.net \
    --to=cherry@osdl.org \
    --cc=akpm@osdl.org \
    --cc=gibbs@scsiguy.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox