]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
CI: Exclude devicetree-rebasing subtree for CONFIG checks
authorSumit Garg <sumit.garg@linaro.org>
Thu, 22 Feb 2024 09:35:57 +0000 (15:05 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 1 Mar 2024 03:24:05 +0000 (22:24 -0500)
Since devicetree-rebasing is an external repo with its own coding style,
exclude it from Azure and gitlab CI CONFIG checks.

Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
.azure-pipelines.yml
.gitlab-ci.yml

index e2646783ee625f4c29c26b020dcdb6f894b4cfe9..1d73215afbae29a1f405b2268880496a82453d85 100644 (file)
@@ -65,7 +65,8 @@ stages:
       # have no matches.
       - script: git grep -E '^#[[:blank:]]*(define|undef)[[:blank:]]*CONFIG_'
                   :^doc/ :^arch/arm/dts/ :^scripts/kconfig/lkc.h
-                  :^include/linux/kconfig.h :^tools/ && exit 1 || exit 0
+                  :^include/linux/kconfig.h :^tools/ :^dts/upstream/ &&
+                  exit 1 || exit 0
 
   - job: docs
     displayName: 'Build documentation'
index 278a2e2bbf31839abc032593886cf13701c4c3c0..8bfbadd6c89f1a16b29cb5f82caf422f66dda614 100644 (file)
@@ -161,7 +161,8 @@ check for new CONFIG symbols outside Kconfig:
     # have no matches.
     - git grep -E '^#[[:blank:]]*(define|undef)[[:blank:]]*CONFIG_'
         :^doc/ :^arch/arm/dts/ :^scripts/kconfig/lkc.h
-        :^include/linux/kconfig.h :^tools/ && exit 1 || exit 0
+        :^include/linux/kconfig.h :^tools/ :^dts/upstream/ &&
+        exit 1 || exit 0
 
 # build documentation
 docs: