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. |
|
|
exit $? |
exit $? |
;; |
;; |
|
|
kernel=*|releasekernel=*|kernel.gdb=*) |
kernel=*|releasekernel=*|kernel.gdb=*|mkernel=*) |
arg=${op#*=} |
arg=${op#*=} |
op=${op%%=*} |
op=${op%%=*} |
[ -n "${arg}" ] || |
[ -n "${arg}" ] || |
|
|
[ -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 |
|
|
;; |
;; |
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=*) |