Browse Source

ci: update to osource for soc/Kconfig.defconfig files

This commit aligns check_compliance to use osource for SoC
Kconfig.defconfig, as that is also the rule for the Kconfig tree in
Zephyr itself.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
pull/69687/head
Torsten Rasmussen 1 year ago committed by Jamie McCrae
parent
commit
f198c3a761
  1. 2
      scripts/ci/check_compliance.py

2
scripts/ci/check_compliance.py

@ -433,7 +433,7 @@ class KconfigCheck(ComplianceTest): @@ -433,7 +433,7 @@ class KconfigCheck(ComplianceTest):
with open(kconfig_defconfig_file, 'w') as fp:
for soc in v2_systems.get_socs():
fp.write('source "' + os.path.join(soc.folder, 'Kconfig.defconfig') + '"\n')
fp.write('osource "' + os.path.join(soc.folder, 'Kconfig.defconfig') + '"\n')
with open(kconfig_soc_file, 'w') as fp:
for soc in v2_systems.get_socs():

Loading…
Cancel
Save