Skip to content

Commit cfa79a4

Browse files
nordicjmjukkar
authored andcommitted
[nrf noup] doc: extensions: kconfig: Add SoC sysbuild Kconfigs
Allows listing sysbuild Kconfigs for SoCs Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 1d73d0e)
1 parent 47d9c3b commit cfa79a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/_extensions/zephyr/kconfig/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ def kconfig_load(app: Sphinx) -> tuple[kconfiglib.Kconfig, kconfiglib.Kconfig, d
112112
for folder in soc_folders:
113113
f.write('source "' + (Path(folder) / 'Kconfig.soc').as_posix() + '"\n')
114114

115+
if "nordic" in folder:
116+
f.write('osource "' + (Path(folder) / 'Kconfig.sysbuild').as_posix() + '"\n')
117+
115118
with open(Path(td) / "soc" / "Kconfig", "w") as f:
116119
for folder in soc_folders:
117120
f.write('osource "' + (Path(folder) / 'Kconfig').as_posix() + '"\n')

0 commit comments

Comments
 (0)