All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Parallel make
Date: Wed, 14 May 2003 17:48:46 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723705803@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590723705774@msgid-missing>

On Wed, May 14, 2003 at 01:38:23PM +1000, Ian Wienand wrote:
> When I try a parallel make, make seems to get it's dependencies out of
> order.  

Could you try the following patch.

It does:
1) Remove superflous all: target, covered by the main Makefile
2) .PHONY shall only list non-file targets
3) Use make $@, $< where appropriate
4) For the offset file do not duplicate dependencies from main Makefile

	Sam

=== arch/ia64/Makefile 1.42 vs edited ==--- 1.42/arch/ia64/Makefile	Wed Mar 26 17:30:43 2003
+++ edited/arch/ia64/Makefile	Wed May 14 19:46:03 2003
@@ -60,17 +60,15 @@
 boot := arch/ia64/boot
 tools := arch/ia64/tools
 
-.PHONY: boot compressed include/asm-ia64/offsets.h
-
-all: prepare vmlinux
+.PHONY: boot compressed check
 
 compressed: vmlinux.gz
 
 vmlinux.gz: vmlinux
-	$(Q)$(MAKE) $(build)=$(boot) vmlinux.gz
+	$(Q)$(MAKE) $(build)=$(boot) $@
 
 check: vmlinux
-	arch/ia64/scripts/unwcheck.sh vmlinux
+	arch/ia64/scripts/unwcheck.sh $<
 
 archclean:
 	$(Q)$(MAKE) $(clean)=$(boot)
@@ -83,7 +81,7 @@
 boot:	lib/lib.a vmlinux
 	$(Q)$(MAKE) $(build)=$(boot) $@
 
-include/asm-ia64/offsets.h: include/asm include/linux/version.h include/config/MARKER
+include/asm-ia64/offsets.h:
 	$(Q)$(MAKE) $(build)=$(tools) $@
 
 define archhelp


  parent reply	other threads:[~2003-05-14 17:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-14  3:38 [Linux-ia64] Parallel make Ian Wienand
2003-05-14  4:29 ` Ian Wienand
2003-05-14  4:44 ` David Mosberger
2003-05-14  7:27 ` Eric Piel
2003-05-14  8:03 ` David Mosberger
2003-05-14  8:42 ` Eric Piel
2003-05-14 17:48 ` Sam Ravnborg [this message]
2003-05-14 18:42 ` David Mosberger
2003-05-14 23:00 ` David Mosberger
2003-05-14 23:59 ` Martin Pool
2003-05-15  0:49 ` Ian Wienand
2003-05-15  1:10 ` David Mosberger
2003-05-15 16:46 ` Stephane Eranian
2003-05-15 17:38 ` Grant Grundler
2003-05-16  4:44 ` Martin Pool

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=marc-linux-ia64-105590723705803@msgid-missing \
    --to=sam@ravnborg.org \
    --cc=linux-ia64@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.