Subject: Re: Problem in new toolchain builds (need comments)
To: James Chacon <jchacon@genuity.net>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-toolchain
Date: 10/24/2001 12:08:55
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/