From a66121a22563d564aeb1cd8a20d4ae99fce88810 Mon Sep 17 00:00:00 2001 From: Tater Li Date: Tue, 20 Mar 2018 16:47:31 +0800 Subject: [PATCH] correct previous kernel config path (#912) --- lib/compilation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/compilation.sh b/lib/compilation.sh index 443cd99048..2d600fac0f 100644 --- a/lib/compilation.sh +++ b/lib/compilation.sh @@ -283,9 +283,9 @@ compile_kernel() display_alert "Compiler version" "${KERNEL_COMPILER}gcc $(eval env PATH=$toolchain:$PATH ${KERNEL_COMPILER}gcc -dumpversion)" "info" # copy kernel config - if [[ $KERNEL_KEEP_CONFIG == yes && -f $DEST/$LINUXCONFIG.config ]]; then - display_alert "Using previous kernel config" "$DEST/$LINUXCONFIG.config" "info" - cp $DEST/$LINUXCONFIG.config .config + if [[ $KERNEL_KEEP_CONFIG == yes && -f $DEST/config/$LINUXCONFIG.config ]]; then + display_alert "Using previous kernel config" "$DEST/config/$LINUXCONFIG.config" "info" + cp $DEST/config/$LINUXCONFIG.config .config else if [[ -f $SRC/userpatches/$LINUXCONFIG.config ]]; then display_alert "Using kernel config provided by user" "userpatches/$LINUXCONFIG.config" "info"