lkml.org 
[lkml]   [2004]   [Mar]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 15 Mar 2004 18:58:52 +0100
FromSam Ravnborg <>
SubjectRe: [PATCH] out-of-tree builds
On Mon, Mar 15, 2004 at 01:41:02PM +0100, Geert Uytterhoeven wrote:
> 
> Unfortunately not everything works.
> 
> E.g. I need to build usr/ with a different (newer) binutils, so when the build
> fails on assembling usr/initramfs_data.o, I used to do the following, which no
> longer works:
> 
> | tux$ PATH=/usr/bin/:$PATH make usr/
> | make: `usr/' is up to date.
> | tux$
> 
> I guess I need a catch-all .PHONY rule, but don't know how to implement it...

Try:
.PHONY: $(MAKECMDGOALS)

or eventually
ifneq ($(MAKECMDGOALS),)
.PHONY: $(MAKECMDGOALS)
endif

The latter if an empty .PHONY is not allowed.

	Sam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008