tools/refresh.sh:skip config check on debug configs

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
xuxin19 2024-10-15 10:16:46 +08:00 committed by Xiang Xiao
parent 4595f9388f
commit 92dddcda8a
1 changed files with 6 additions and 0 deletions

View File

@ -207,6 +207,12 @@ for CONFIG in ${CONFIGS}; do
fi
fi
# skip refresh if defconfig contains `#include`
if grep -q "#include" $DEFCONFIG; then
echo "Note: skipping refresh for debug defconfig."
exit 0
fi
# Copy the .config and Make.defs to the toplevel directory
rm -f SAVEconfig