[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.56 and 1.57

version 1.56, 2002/04/18 01:38:11 version 1.57, 2002/05/02 22:13:31
Line 90  usage () {
Line 90  usage () {
         echo "    -b: build nbmake and nbmake wrapper script, if needed"          echo "    -b: build nbmake and nbmake wrapper script, if needed"
         echo "    -D: set DESTDIR to dest"          echo "    -D: set DESTDIR to dest"
         echo "    -d: build a full distribution into DESTDIR (including etc files)"          echo "    -d: build a full distribution into DESTDIR (including etc files)"
         echo "    -j: set NBUILDJOBS to njob"          echo "    -j: Run up to njob jobs in parallel; see make(1)"
         echo "    -m: set MACHINE to mach (not required if NetBSD native)"          echo "    -m: set MACHINE to mach (not required if NetBSD native)"
         echo "    -n: show commands that would be executed, but do not execute them"          echo "    -n: show commands that would be executed, but do not execute them"
         echo "    -O: set obj root directory to obj (sets a MAKEOBJDIR pattern)"          echo "    -O: set obj root directory to obj (sets a MAKEOBJDIR pattern)"
Line 151  while eval $getoptcmd; do case $opt in
Line 151  while eval $getoptcmd; do case $opt in
         -d)     buildtarget=distribution;;          -d)     buildtarget=distribution;;
   
         -j)     eval $optargcmd          -j)     eval $optargcmd
                 MAKEFLAGS="$MAKEFLAGS NBUILDJOBS=$OPTARG"; export MAKEFLAGS;;                  parallel="-j $OPTARG";;
   
         # -m overrides MACHINE_ARCH unless "-a" is specified          # -m overrides MACHINE_ARCH unless "-a" is specified
         -m)     eval $optargcmd          -m)     eval $optargcmd
Line 384  EOF
Line 384  EOF
 $runcmd chmod +x "$makewrapper"  $runcmd chmod +x "$makewrapper"
   
 if $do_buildsystem; then  if $do_buildsystem; then
         ${runcmd-exec} "$makewrapper" $buildtarget          ${runcmd-exec} "$makewrapper" $parallel $buildtarget
 elif $do_buildonlytools; then  elif $do_buildonlytools; then
         if [ "$MKOBJDIRS" != "no" ]; then          if [ "$MKOBJDIRS" != "no" ]; then
                 $runcmd "$makewrapper" obj-tools || exit 1                  $runcmd "$makewrapper" $parallel obj-tools || exit 1
         fi          fi
         $runcmd cd tools          $runcmd cd tools
         if [ "$UPDATE" = "" ]; then          if [ "$UPDATE" = "" ]; then

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

CVSweb <webmaster@jp.NetBSD.org>