Skip to content

Commit 1d73d0e

Browse files
committed
[nrf noup] doc: extensions: kconfig: Add SoC sysbuild Kconfigs
Allows listing sysbuild Kconfigs for SoCs Signed-off-by: Jamie McCrae <[email protected]>
1 parent d4d69a4 commit 1d73d0e

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
@@ -106,6 +106,9 @@ def kconfig_load(app: Sphinx) -> tuple[kconfiglib.Kconfig, kconfiglib.Kconfig, d
106106
for folder in soc_folders:
107107
f.write('source "' + (Path(folder) / 'Kconfig.soc').as_posix() + '"\n')
108108

109+
if "nordic" in folder:
110+
f.write('osource "' + (Path(folder) / 'Kconfig.sysbuild').as_posix() + '"\n')
111+
109112
with open(Path(td) / "soc" / "Kconfig", "w") as f:
110113
for folder in soc_folders:
111114
f.write('osource "' + (Path(folder) / 'Kconfig').as_posix() + '"\n')

0 commit comments

Comments
 (0)