Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src UPDATING (1.38) says:
details: https://anonhg.NetBSD.org/src/rev/744eb9316aef
branches: trunk
changeset: 515674:744eb9316aef
user: mason <mason%NetBSD.org@localhost>
date: Mon Oct 01 17:19:17 2001 +0000
description:
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.
diffstat:
Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r e14bb4fad91d -r 744eb9316aef Makefile
--- a/Makefile Mon Oct 01 17:03:38 2001 +0000
+++ b/Makefile Mon Oct 01 17:19:17 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.131 2001/09/22 12:30:13 tv Exp $
+# $NetBSD: Makefile,v 1.132 2001/10/01 17:19:17 mason Exp $
# This is the top-level makefile for building NetBSD. For an outline of
# how to build a snapshot or release, as well as other release engineering
@@ -136,10 +136,12 @@
.endif
do-make-tools:
+.if ${USETOOLS} != "no"
.if ${MKOBJDIRS} != "no"
cd ${.CURDIR}/tools && ${MAKE} ${_M} obj
.endif
cd ${.CURDIR}/tools && ${MAKE} ${_M} build
+.endif
do-distrib-dirs:
.ifndef NODISTRIBDIRS
Home |
Main Index |
Thread Index |
Old Index