Refactoring: Rename mode runtask to kernelruntask
authorSebastian Pipping <sebastian@pipping.org>
Wed, 22 Jun 2011 16:57:45 +0000 (18:57 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 22 Jun 2011 16:57:45 +0000 (18:57 +0200)
gen_compile.sh
gen_configkernel.sh

index 281d672fd2e7c9bd1f4e30fdea910480eeedc115..9f3801c34cf00497e731aa47f2b035a268d33cf0 100755 (executable)
@@ -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
index 2e0737f37d8e69cc8efb020d68961269d2192de1..284f800bcbee0d181fcb9117d0c5d9e2dd9b2b88 100755 (executable)
@@ -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