Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Commit e6b2e62

Browse files
ulfalizercarlescufi
authored andcommitted
check_compliance.py: Make compatible with pre-DEVICETREE_CONF renaming
fw-nrfconnect-zephyr doesn't have the GENERATED_DTS_BOARD -> DEVICETREE_CONF renaming yet. Set GENERATED_DTS_BOARD too in the KconfigCheck test, to make it compatible. Signed-off-by: Ulf Magnusson <[email protected]>
1 parent 84334a4 commit e6b2e62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/check_compliance.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ def parse_kconfig(self):
286286
os.environ['DEVICETREE_CONF'] = "dummy"
287287
os.environ['DTS_POST_CPP'] = 'dummy'
288288

289+
# Older name for DEVICETREE_CONF, for compatibility with older Zephyr
290+
# versions that don't have the renaming
291+
os.environ["GENERATED_DTS_BOARD_CONF"] = "dummy"
292+
289293
# For multi repo support
290294
self.get_modules(os.path.join(tempfile.gettempdir(), "Kconfig.modules"))
291295

0 commit comments

Comments
 (0)