Subject: CVS commit: sharesrc/share/mk
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 10/31/2001 19:46:08
Module Name:	sharesrc
Committed By:	tv
Date:		Wed Oct 31 17:46:08 UTC 2001

Modified Files:
	basesrc/tools: Makefile Makefile.inc
	sharesrc/share/mk: bsd.own.mk

Log Message:
* Create a variable HOST_OSTYPE that represents the host build environment,
  using `uname -s`-`uname -r`-`uname -p || uname -m`.  This can be overridden
  in mk.conf or the environment, and is used by host tools to ensure that
  build hosts do not clobber each other.

* Now that there's an objdir in src/tools, make a default TOOLDIR by creating
  "tools.${HOST_OSTYPE}" in the objdir (if it exists) of src/tools.  This
  means that TOOLDIR is no longer required to be set in a build, though it
  still may be set manually if desired.

* Set MKTOOLS to "yes" by default, since the default TOOLDIR is now located
  in a known mutable location.  This may still be set manually if desired.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 basesrc/tools/Makefile
cvs rdiff -r1.10 -r1.11 basesrc/tools/Makefile.inc
cvs rdiff -r1.203 -r1.204 sharesrc/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.