Subject: Re: Problem in new toolchain builds (need comments)
To: Todd Vierling <tv@wasabisystems.com>
From: James Chacon <jchacon@genuity.net>
List: tech-toolchain
Date: 10/25/2001 01:10:06
Reading the source nothing except $MAKE gets actually evaluated (i.e. parsed)
when a new make occurs. If the $.MAKE* vars act differently it isn't documented
in any readable form nor was it obvious from a source perusal.
James
>
>On Wed, 24 Oct 2001, James Chacon wrote:
>
>: >>+MAKE+= _SRC_TOP_=${_SRC_TOP_:Q}
>: >
>: >Also I'm not at all keen on appending to MAKE.
>: >Use .MAKEFLAGS or
>:
>: Doesn't work. MAKEFLAGS gets passed in, but doesn't get evaluated so it's
>: pointless. Check the source, only $MAKE gets re-evaluated on a new make.
>: Line 721 or so of main.c in usr.bin/make
>
>".MAKEFLAGS", not "MAKEFLAGS". Note the leading dot.
>
>: >.MAKEOVERRIDES+= _SRC_TOP_
>: >will do the trick.
>:
>: Didn't try that. $MAKE works and reading the source MAKEOVERRIDES doesn't
>: get evaluated either.
>
>Again, there's a leading dot. ".MAKEOVERRIDES". This would be the
>preferred method, IMHO.
>
>--
>-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
>-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/
>
>
>
>
>