|
|
@ -231,15 +231,17 @@ compile_generic() {
|
|
|
|
local target=${1}
|
|
|
|
local target=${1}
|
|
|
|
local argstype=${2}
|
|
|
|
local argstype=${2}
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${argstype}" = 'kernel' ] || [ "${argstype}" = 'runtask' ]
|
|
|
|
case "${argstype}" in
|
|
|
|
then
|
|
|
|
kernel|runtask)
|
|
|
|
export_kernel_args
|
|
|
|
export_kernel_args
|
|
|
|
MAKE=${KERNEL_MAKE}
|
|
|
|
MAKE=${KERNEL_MAKE}
|
|
|
|
elif [ "${2}" = 'utils' ]
|
|
|
|
;;
|
|
|
|
then
|
|
|
|
utils)
|
|
|
|
export_utils_args
|
|
|
|
export_utils_args
|
|
|
|
MAKE=${UTILS_MAKE}
|
|
|
|
MAKE=${UTILS_MAKE}
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
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`" ;;
|
|
|
@ -272,13 +274,11 @@ compile_generic() {
|
|
|
|
|
|
|
|
|
|
|
|
unset MAKE
|
|
|
|
unset MAKE
|
|
|
|
unset ARGS
|
|
|
|
unset ARGS
|
|
|
|
if [ "${argstype}" = 'kernel' ]
|
|
|
|
|
|
|
|
then
|
|
|
|
case "${argstype}" in
|
|
|
|
unset_kernel_args
|
|
|
|
kernel) unset_kernel_args ;;
|
|
|
|
elif [ "${argstype}" = 'utils' ]
|
|
|
|
utils) unset_utils_args ;;
|
|
|
|
then
|
|
|
|
esac
|
|
|
|
unset_utils_args
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
compile_modules() {
|
|
|
|
compile_modules() {
|
|
|
|