From 5f102fbfcaeda34a2b4599f42bdbe39c1e40a596 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Fri, 14 Sep 2018 17:03:11 +0200 Subject: [PATCH] scripts: ci: Set SOC_DIR for check-compliance.py To avoid having to set it externally, set the SOC_DIR environment variable directly in the compliance script. Signed-off-by: Carles Cufi --- scripts/ci/check-compliance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/check-compliance.py b/scripts/ci/check-compliance.py index 81f2a6e1e25..7e4884cb1e2 100755 --- a/scripts/ci/check-compliance.py +++ b/scripts/ci/check-compliance.py @@ -105,6 +105,7 @@ def run_kconfig_undef_ref_check(tc, commit_range): os.environ["srctree"] = repository_path # Parse the entire Kconfig tree, to make sure we see all symbols + os.environ["SOC_DIR"] = "soc/" os.environ["BOARD_DIR"] = "boards/*/*" os.environ["ARCH"] = "*"