From 381ec0cee4f0df060be1ca8d864f1db587ab7eb7 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 22 Jun 2011 18:57:45 +0200 Subject: [PATCH] Refactoring: Rename mode runtask to kernelruntask --- gen_compile.sh | 6 +++--- gen_configkernel.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gen_compile.sh b/gen_compile.sh index 281d672..9f3801c 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -232,7 +232,7 @@ compile_generic() { local argstype=${2} case "${argstype}" in - kernel|runtask) + kernel|kernelruntask) export_kernel_args MAKE=${KERNEL_MAKE} ;; @@ -245,14 +245,14 @@ compile_generic() { case "${argstype}" in kernel) ARGS="`compile_kernel_args`" ;; utils) ARGS="`compile_utils_args`" ;; - *) ARGS="" ;; # includes runtask + *) ARGS="" ;; # includes kernelruntask esac shift 2 # the eval usage is needed in the next set of code # as ARGS can contain spaces and quotes, eg: # ARGS='CC="ccache gcc"' - if [ "${argstype}" == 'runtask' ] + if [ "${argstype}" == 'kernelruntask' ] then # Silent operation, forced -j1 print_info 2 "COMMAND: ${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1 0 1 diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 2e0737f..284f800 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -76,7 +76,7 @@ config_kernel() { if isTrue ${MENUCONFIG} then print_info 1 'kernel: >> Invoking menuconfig...' - compile_generic menuconfig runtask + compile_generic menuconfig kernelruntask [ "$?" ] || gen_die 'Error: menuconfig failed!' elif isTrue ${CMD_GCONFIG} then -- 2.26.2