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 <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2018-09-14 17:03:11 +02:00 committed by Carles Cufí
parent 912b4a276c
commit 5f102fbfca
1 changed files with 1 additions and 0 deletions

View File

@ -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"] = "*"