|
|
@ -44,14 +44,9 @@ config_kernel() {
|
|
|
|
print_info 1 ' Previous config backed up to .config.bak'
|
|
|
|
print_info 1 ' Previous config backed up to .config.bak'
|
|
|
|
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die 'Could not copy configuration file!'
|
|
|
|
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die 'Could not copy configuration file!'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if isTrue "${CLEAN}" || isTrue "${OLDCONFIG}"
|
|
|
|
if isTrue "${OLDCONFIG}"
|
|
|
|
then
|
|
|
|
then
|
|
|
|
if ! isTrue "${CLEAN}"
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
print_info 1 'config: >> Running oldconfig...'
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
print_info 1 ' >> Running oldconfig...'
|
|
|
|
print_info 1 ' >> Running oldconfig...'
|
|
|
|
fi
|
|
|
|
|
|
|
|
yes '' 2>/dev/null | compile_generic oldconfig kernel 2>/dev/null
|
|
|
|
yes '' 2>/dev/null | compile_generic oldconfig kernel 2>/dev/null
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if isTrue "${CLEAN}"
|
|
|
|
if isTrue "${CLEAN}"
|
|
|
|