Subject: Re: Problem in new toolchain builds (need comments)
To: None <atatat@atatdot.net>
From: James Chacon <jchacon@genuity.net>
List: tech-toolchain
Date: 10/24/2001 11:50:07
>
>>: That completely defeats the current ability to do
>>:
>>: cd usr.bin/vi
>>: make
>>:
>>: and have it DTRT...Having to remember to set X number of new vars just to
>>: get a build working is fairly silly and prone to failure.
>>
>>Yes, now I remember, that's the reason I did it this way!  8-)
>>
>>So, to make this work Right, I'll go with the original suggestion of
>>sprinkling Makefile.inc's where needed.  This is the best solution to me;
>>you really need Makefile.inc's throughout the tree to get everything "glued
>>together" right anyhow (to pick up the proper BINDIR and LDSTATIC defaults
>>for src/"foo", etc.).
>
>is this going to affect my ability to do things like
>
>   % cvs co -d /tmp/vi basesrc/usr.bin/vi
>   % cd /tmp/vi
>   % make
>
>and it just works?

As long as you have up to date .mk files installed you'll be fine. (and meet
the other new requirement of building within the source tree of having
$TOOLDIR defined and setup).

James