[BACK]Return to build.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

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

Diff for /src/build.sh between version 1.28 and 1.29

version 1.28, 2001/11/30 02:18:13 version 1.29, 2001/12/03 08:18:00
Line 15  bomb () {
Line 15  bomb () {
 }  }
 [ -d usr.bin/make ] || bomb "build.sh must be run from the top source level"  [ -d usr.bin/make ] || bomb "build.sh must be run from the top source level"
   
   TOP=`pwd`
   
 getarch () {  getarch () {
         # Translate a MACHINE into a default MACHINE_ARCH.          # Translate a MACHINE into a default MACHINE_ARCH.
         case $MACHINE in          case $MACHINE in
Line 56  getarch () {
Line 58  getarch () {
 }  }
   
 getmakevar () {  getmakevar () {
         cat <<EOF | $make -s -f- _x_          cat <<EOF | $make -m ${TOP}/share/mk -s -f- _x_
 _x_:  _x_:
         echo \${$1}          echo \${$1}
 .include <bsd.prog.mk>  .include <bsd.prog.mk>
Line 245  fi
Line 247  fi
 # default setting from <bsd.own.mk> is used.  # default setting from <bsd.own.mk> is used.
 if [ -z "$TOOLDIR" ] && [ "$MKOBJDIRS" != "no" ]; then  if [ -z "$TOOLDIR" ] && [ "$MKOBJDIRS" != "no" ]; then
         $runcmd cd tools          $runcmd cd tools
         $runcmd $make obj NOSUBDIR= || exit 1          $runcmd $make -m ${TOP}/share/mk obj NOSUBDIR= || exit 1
         $runcmd cd ..          $runcmd cd ..
 fi  fi
   

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

CVSweb <webmaster@jp.NetBSD.org>