version 1.67, 2002/09/13 23:27:13 |
version 1.68, 2002/09/18 15:20:53 |
Line 275 if $do_rebuildmake; then |
|
Line 275 if $do_rebuildmake; then |
|
$runcmd rm -f usr.bin/make/*.o usr.bin/make/lst.lib/*.o |
$runcmd rm -f usr.bin/make/*.o usr.bin/make/lst.lib/*.o |
fi |
fi |
|
|
|
EXTERNAL_TOOLCHAIN=`getmakevar EXTERNAL_TOOLCHAIN` |
if [ "$runcmd" = "echo" ]; then |
if [ "$runcmd" = "echo" ]; then |
USE_NEW_TOOLCHAIN=yes |
TOOLCHAIN_MISSING=no |
else |
else |
USE_NEW_TOOLCHAIN=`getmakevar USE_NEW_TOOLCHAIN` |
TOOLCHAIN_MISSING=`getmakevar TOOLCHAIN_MISSING` |
fi |
fi |
if [ "${USE_NEW_TOOLCHAIN}" = "" ]; then |
if [ "${TOOLCHAIN_MISSING}" = "yes" -a \ |
echo "ERROR: build.sh (new toolchain) is not yet enabled for" |
"${EXTERNAL_TOOLCHAIN}" = "" ]; then |
|
echo "ERROR: build.sh (in-tree cross-toolchain) is not yet available for" |
echo |
echo |
echo "MACHINE: ${MACHINE}" |
echo "MACHINE: ${MACHINE}" |
echo "MACHINE_ARCH: ${MACHINE_ARCH}" |
echo "MACHINE_ARCH: ${MACHINE_ARCH}" |
echo |
echo |
echo "All builds for this platform should be done via a traditional make" |
echo "All builds for this platform should be done via a traditional make" |
echo |
echo |
echo "If you wish to test using the new toolchain set" |
echo "If you wish to use an external cross-toolchain, set" |
echo |
echo |
echo "USE_NEW_TOOLCHAIN=yes" |
echo "EXTERNAL_TOOLCHAIN=<path to toolchain root>" |
echo |
echo |
echo "in either the environment or mk.conf and rerun" |
echo "in either the environment or mk.conf and rerun" |
echo |
echo |