[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.301 and 1.302

version 1.301, 2014/11/10 09:59:33 version 1.302, 2014/11/16 05:38:10
Line 1029  Usage: ${progname} [-EhnorUuxy] [-a arch
Line 1029  Usage: ${progname} [-EhnorUuxy] [-a arch
                         file \`conf'                          file \`conf'
     releasekernel=conf  Install kernel built by kernel=conf to RELEASEDIR.      releasekernel=conf  Install kernel built by kernel=conf to RELEASEDIR.
     kernels             Build all kernels      kernels             Build all kernels
       mkernel=conf        Build kernel with config file \`conf' in modular build
     installmodules=idir Run "make installmodules" to \`idir' to install all      installmodules=idir Run "make installmodules" to \`idir' to install all
                         kernel modules.                          kernel modules.
     modules             Build kernel modules.      modules             Build kernel modules.
Line 1319  parseoptions()
Line 1320  parseoptions()
                         exit $?                          exit $?
                         ;;                          ;;
   
                 kernel=*|releasekernel=*|kernel.gdb=*)                  kernel=*|releasekernel=*|kernel.gdb=*|mkernel=*)
                         arg=${op#*=}                          arg=${op#*=}
                         op=${op%%=*}                          op=${op%%=*}
                         [ -n "${arg}" ] ||                          [ -n "${arg}" ] ||
Line 1985  buildkernel()
Line 1986  buildkernel()
         [ -x "${TOOLDIR}/bin/${toolprefix}config" ] \          [ -x "${TOOLDIR}/bin/${toolprefix}config" ] \
         || bomb "${TOOLDIR}/bin/${toolprefix}config does not exist. You need to \"$0 tools\" first."          || bomb "${TOOLDIR}/bin/${toolprefix}config does not exist. You need to \"$0 tools\" first."
         ${runcmd} "${TOOLDIR}/bin/${toolprefix}config" -b "${kernelbuildpath}" \          ${runcmd} "${TOOLDIR}/bin/${toolprefix}config" -b "${kernelbuildpath}" \
                 ${ksymopts} -s "${TOP}/sys" "${kernelconfpath}" ||                  ${configopts} -s "${TOP}/sys" "${kernelconfpath}" ||
             bomb "${toolprefix}config failed for ${kernelconf}"              bomb "${toolprefix}config failed for ${kernelconf}"
         make_in_dir "${kernelbuildpath}" depend          make_in_dir "${kernelbuildpath}" depend
         make_in_dir "${kernelbuildpath}" all          make_in_dir "${kernelbuildpath}" all
Line 2244  main()
Line 2245  main()
                         ;;                          ;;
                 kernel.gdb=*)                  kernel.gdb=*)
                         arg=${op#*=}                          arg=${op#*=}
                         ksymopts="-D DEBUG=-g"                          configopts="-D DEBUG=-g"
                           buildkernel "${arg}"
                           ;;
                   mkernel=*)
                           arg=${op#*=}
                           configopts="-M"
                         buildkernel "${arg}"                          buildkernel "${arg}"
                         ;;                          ;;
                 releasekernel=*)                  releasekernel=*)

Legend:
Removed from v.1.301  
changed lines
  Added in v.1.302

CVSweb <webmaster@jp.NetBSD.org>