freebsd-dev/release
Makoto Matsushita 04b9282ff8 Explicitly set TARGET and TARGET_ARCH in a chroot sandbox.
In fact, these variable are set as environment variables since we run
"make TARGET=xxx TARGET_ARCH=xxx"; TARGET and TARGET_ARCH are declared
in the command line arguments.  However, if you are not make(1) guy,
it is hard to understand that TARGET/TARGET_ARCH are appropriately set
in a chroot environment (as environment variables).

Now, the only environment variable need to be set explicitly is 'PATH'.
If we set PATH in /mk script, we can make pristine sandbox for release
build (i.e., "env -i /usr/sbin/chroot ${CHROOT} /mk" will work).

Valuable comments about this issue from: ru
Tested on (virtually): snapshots.jp.FreeBSD.org
MFC after:	2 weeks
2002-06-08 03:15:50 +00:00
..
alpha Update a comment to accurately describe the usage of the fourth field 2002-05-01 05:05:31 +00:00
amd64 Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
doc Add pc98 subdirectory. 2002-06-03 09:58:44 +00:00
i386 Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
pc98 Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +00:00
picobsd sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
scripts A script to generate all of the packages/*/* symlinks described in the INDEX 2002-06-06 00:18:49 +00:00
texts Make it more obvious where to find RELNOTESng source files if someone went 2002-03-06 07:59:18 +00:00
fixit.profile Don't assume fixit media is a floppy disk. 2001-10-29 16:13:29 +00:00
fixit.services
Makefile Explicitly set TARGET and TARGET_ARCH in a chroot sandbox. 2002-06-08 03:15:50 +00:00
Makefile.inc.docports Add devel/bison and textproc/xhtml ports to the set of ports required 2002-05-17 23:59:53 +00:00