|
|
@ -42,8 +42,8 @@ config_kernel() {
|
|
|
|
if isTrue ${CLEAN}
|
|
|
|
if isTrue ${CLEAN}
|
|
|
|
then
|
|
|
|
then
|
|
|
|
print_info 1 "kernel: using config from ${KERNEL_CONFIG} -- prev backed up to .config.bak"
|
|
|
|
print_info 1 "kernel: using config from ${KERNEL_CONFIG} -- prev backed up to .config.bak"
|
|
|
|
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die "could not copy config file"
|
|
|
|
|
|
|
|
cp "${KERNEL_DIR}/.config" "${KERNEL_DIR}/.config.bak" > /dev/null 2>&1
|
|
|
|
cp "${KERNEL_DIR}/.config" "${KERNEL_DIR}/.config.bak" > /dev/null 2>&1
|
|
|
|
|
|
|
|
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die "could not copy config file"
|
|
|
|
|
|
|
|
|
|
|
|
print_info 1 "kernel: running oldconfig"
|
|
|
|
print_info 1 "kernel: running oldconfig"
|
|
|
|
yes "" | compile_generic "oldconfig" kernel
|
|
|
|
yes "" | compile_generic "oldconfig" kernel
|
|
|
|