#!/bin/bash
# $Id$
+# Fills variable KERNEL_CONFIG
determine_config_file() {
if [ "${CMD_KERNEL_CONFIG}" != "" ]
then
else
gen_die 'Error: No kernel .config specified, or file not found!'
fi
+ KERNEL_CONFIG="$(readlink -f "${KERNEL_CONFIG}")"
}
config_kernel() {
print_info 1 'kernel: >> Running mrproper...'
compile_generic mrproper kernel
else
- print_info 1 "kernel: --no-mrproper is enabled; not running 'make mrproper'."
+ print_info 1 "kernel: --mrproper is disabled; not running 'make mrproper'."
fi
# If we're not cleaning a la mrproper, then we don't want to try to overwrite the configs
print_info 1 'kernel: >> Cleaning...'
compile_generic clean kernel
else
- print_info 1 "kernel: --no-clean is enabled; not running 'make clean'."
+ print_info 1 "kernel: --clean is disabled; not running 'make clean'."
fi
-
+
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