From 5e1aaa539568dc59e8616f64cea39c43674f340f Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 14 Feb 2025 12:47:32 +0000 Subject: [PATCH] scripts: ci: check_compliance: Fix paths for disallowed Kconfigs Fixes using the wrong path for checking if disallowed Kconfigs are present, to use the zephyr base instead of the git top level folder which caused issues for downstream manifests Signed-off-by: Jamie McCrae --- scripts/ci/check_compliance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/check_compliance.py b/scripts/ci/check_compliance.py index 9b2c610d390..34073348ff9 100755 --- a/scripts/ci/check_compliance.py +++ b/scripts/ci/check_compliance.py @@ -715,10 +715,10 @@ class KconfigCheck(ComplianceTest): grep_stdout_boards = git("grep", "--line-number", "-I", "--null", "--perl-regexp", regex_boards, "--", ":boards", - cwd=Path(GIT_TOP)) + cwd=ZEPHYR_BASE) grep_stdout_socs = git("grep", "--line-number", "-I", "--null", "--perl-regexp", regex_socs, "--", ":soc", - cwd=Path(GIT_TOP)) + cwd=ZEPHYR_BASE) # Board processing # splitlines() supports various line terminators