Refactoring: Rename mode runtask to kernelruntask

cleanup-cruft
Sebastian Pipping 14 years ago
parent 9ef2c29215
commit 381ec0cee4

@ -232,7 +232,7 @@ compile_generic() {
local argstype=${2} local argstype=${2}
case "${argstype}" in case "${argstype}" in
kernel|runtask) kernel|kernelruntask)
export_kernel_args export_kernel_args
MAKE=${KERNEL_MAKE} MAKE=${KERNEL_MAKE}
;; ;;
@ -245,14 +245,14 @@ compile_generic() {
case "${argstype}" in case "${argstype}" in
kernel) ARGS="`compile_kernel_args`" ;; kernel) ARGS="`compile_kernel_args`" ;;
utils) ARGS="`compile_utils_args`" ;; utils) ARGS="`compile_utils_args`" ;;
*) ARGS="" ;; # includes runtask *) ARGS="" ;; # includes kernelruntask
esac esac
shift 2 shift 2
# the eval usage is needed in the next set of code # the eval usage is needed in the next set of code
# as ARGS can contain spaces and quotes, eg: # as ARGS can contain spaces and quotes, eg:
# ARGS='CC="ccache gcc"' # ARGS='CC="ccache gcc"'
if [ "${argstype}" == 'runtask' ] if [ "${argstype}" == 'kernelruntask' ]
then then
# Silent operation, forced -j1 # Silent operation, forced -j1
print_info 2 "COMMAND: ${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1 0 1 print_info 2 "COMMAND: ${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1 0 1

@ -76,7 +76,7 @@ config_kernel() {
if isTrue ${MENUCONFIG} if isTrue ${MENUCONFIG}
then then
print_info 1 'kernel: >> Invoking menuconfig...' print_info 1 'kernel: >> Invoking menuconfig...'
compile_generic menuconfig runtask compile_generic menuconfig kernelruntask
[ "$?" ] || gen_die 'Error: menuconfig failed!' [ "$?" ] || gen_die 'Error: menuconfig failed!'
elif isTrue ${CMD_GCONFIG} elif isTrue ${CMD_GCONFIG}
then then

Loading…
Cancel
Save