This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 92dddcda8af27cd76a04a0a0922fcee84ff66330
Author: xuxin19 <[email protected]>
AuthorDate: Tue Oct 15 10:16:46 2024 +0800

    tools/refresh.sh:skip config check on debug configs
    
    Signed-off-by: xuxin19 <[email protected]>
---
 tools/refresh.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/refresh.sh b/tools/refresh.sh
index 532cb0e174..7c998ce234 100755
--- a/tools/refresh.sh
+++ b/tools/refresh.sh
@@ -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

Reply via email to