public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add 'build', 'build-*', and 'install' as phony targets to the top level
@ 2011-09-28 23:33 Michael Hope
  2011-10-05 21:56 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Hope @ 2011-09-28 23:33 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# HG changeset patch
# User Michael Hope <michael.hope@linaro.org>
# Date 1317252474 -46800
# Node ID 780d29fbc4c574ded2248f55e77dd7cb1540aea4
# Parent  ccba0d4551b2735d29413a4a1b24af37358ebaf7
Add 'build', 'build-*', and 'install' as phony targets to the top level
Makefile.

I tend to do everything in tree with the build in a directory called
'build'.  This interfered with the target 'build', making it think the
target was up to date, and stopping scripts/crosstool-NG.sh from being
regenerated.

Added 'install' as I often set the prefix to $PWD/install.

Signed-off-by: Michael Hope <michael.hope@linaro.org>

diff -r ccba0d4551b2 -r 780d29fbc4c5 Makefile.in
--- a/Makefile.in	Wed Sep 28 16:02:27 2011 +1300
+++ b/Makefile.in	Thu Sep 29 12:27:54 2011 +1300
@@ -347,3 +347,5 @@
 endif # Not --local
 
 endif # No extra MAKEFLAGS were added
+
+.PHONY: build $(patsubst %,build-%,$(TARGETS)) install

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add 'build', 'build-*', and 'install' as phony targets to the top level
  2011-09-28 23:33 [PATCH] Add 'build', 'build-*', and 'install' as phony targets to the top level Michael Hope
@ 2011-10-05 21:56 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2011-10-05 21:56 UTC (permalink / raw)
  To: crossgcc; +Cc: Michael Hope

Michael, All,

On Thursday 29 September 2011 01:33:24 Michael Hope wrote:
> # HG changeset patch
> # User Michael Hope <michael.hope@linaro.org>
> # Date 1317252474 -46800
> # Node ID 780d29fbc4c574ded2248f55e77dd7cb1540aea4
> # Parent  ccba0d4551b2735d29413a4a1b24af37358ebaf7
> Add 'build', 'build-*', and 'install' as phony targets to the top level
> Makefile.

I reworked the description a bit. Applied as #2c01a02334ea. Thank you!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-05 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 23:33 [PATCH] Add 'build', 'build-*', and 'install' as phony targets to the top level Michael Hope
2011-10-05 21:56 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).