Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/build.sh,v rcsdiff: /ftp/cvs/cvsroot/src/build.sh,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.28 retrieving revision 1.29 diff -u -p -r1.28 -r1.29 --- src/build.sh 2001/11/30 02:18:13 1.28 +++ src/build.sh 2001/12/03 08:18:00 1.29 @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: build.sh,v 1.28 2001/11/30 02:18:13 thorpej Exp $ +# $NetBSD: build.sh,v 1.29 2001/12/03 08:18:00 jmc Exp $ # # Top level build wrapper, for a system containing no tools. # @@ -15,6 +15,8 @@ bomb () { } [ -d usr.bin/make ] || bomb "build.sh must be run from the top source level" +TOP=`pwd` + getarch () { # Translate a MACHINE into a default MACHINE_ARCH. case $MACHINE in @@ -56,7 +58,7 @@ getarch () { } getmakevar () { - cat < @@ -245,7 +247,7 @@ fi # default setting from is used. if [ -z "$TOOLDIR" ] && [ "$MKOBJDIRS" != "no" ]; then $runcmd cd tools - $runcmd $make obj NOSUBDIR= || exit 1 + $runcmd $make -m ${TOP}/share/mk obj NOSUBDIR= || exit 1 $runcmd cd .. fi @@ -323,7 +325,7 @@ fi eval cat <