Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Mason Loring Bliss <mason@netbsd.org>
List: source-changes
Date: 10/01/2001 20:19:17
Module Name: basesrc
Committed By: mason
Date: Mon Oct 1 17:19:17 UTC 2001
Modified Files:
basesrc: Makefile
Log Message:
UPDATING (1.38) says:
i386 platform builds must now set TOOLDIR in mk.conf or the
environment in order to build the system. This is a pathname
where host build tools will be installed, and must NOT be
the same as src/tools.
(Optionally, USETOOLS=no can be set in the environment if you
wish to avoid using the separate host toolchain for building a
subtree. Otherwise, this will default to "yes" automatically.)
However, building with USETOOLS=no set and no defined TOOLDIR ends up
with breakage, as the do-make-tools target is run regardless of whether
or not USETOOLS is set.
Hence, a wrapper around the body of the do-make-tools target:
.if ${USETOOLS} != "no"
...
.endif
...which makes the build work when USETOOLS=no, with no TOOLDIR set. This
would seem to more accurately match the description put forth in UPDATING.
To generate a diff of this commit:
cvs rdiff -r1.131 -r1.132 basesrc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.