Subject: Re: Problem in new toolchain builds (need comments)
To: Chris Jepeway <jepeway@blasted-heath.com>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-toolchain
Date: 10/24/2001 14:08:49
On Wed, 24 Oct 2001, Chris Jepeway wrote:

: > Actually, I'd go a little bit further to say that BSDSRCDIR should be used
: > as _SRC_TOP_ unconditionally if it exists (and the test file exists
: > underneath it).  I can imagine some oddness in cases like putting "gnu" on
: > another filesystem and symlinking it; there's not an easy way to deal with
: > that via "cd .."s, but setting BSDSRCDIR can eliminate all the confusion.

: Well, wouldn't that mean that a stray BSDSRCDIR lying about in
: /etc/mk.conf, eg, would always mean a MKTOOLS/USE_NEW_TOOLCHAIN=yes
: build takes place?

If it points to a source tree, yes.  There should be no "stray" BSDSRCDIR --
if it's set, the build system is being told by you to consider that to be
the root of the currently building source tree.  :)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/