You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/10/30 14:14:49 UTC

(nuttx) 04/05: tools/refresh.sh:skip config check on debug configs

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 <xu...@xiaomi.com>
AuthorDate: Tue Oct 15 10:16:46 2024 +0800

    tools/refresh.sh:skip config check on debug configs
    
    Signed-off-by: xuxin19 <xu...@xiaomi.com>
---
 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