Skip to content

Commit b8cc757

Browse files
nordicjmrlubos
authored andcommitted
zephyr: Allow external Kconfig root
Allows for modules to override the NCS Kconfig root Signed-off-by: Jamie McCrae <[email protected]>
1 parent 3b92934 commit b8cc757

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

modules/modules.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ set(ZEPHYR_AZURE_SDK_FOR_C_CMAKE_DIR ${CMAKE_CURRENT_LIST_DIR}/azure-sdk-for-c)
1010
set(ZEPHYR_OPENTHREAD_CMAKE_DIR ${CMAKE_CURRENT_LIST_DIR}/openthread)
1111
set(ZEPHYR_OPENTHREAD_KCONFIG ${CMAKE_CURRENT_LIST_DIR}/openthread/Kconfig)
1212
set(ZEPHYR_HAL_NORDIC_CMAKE_DIR ${CMAKE_CURRENT_LIST_DIR}/hal_nordic)
13+
set(ZEPHYR_NRF_KCONFIG ${CMAKE_CURRENT_LIST_DIR}/../Kconfig.nrf)
1314

1415
# Those are modules with Kconfig tree's inside the module repo but where
1516
# nRF Connect SDK extend those trees.

zephyr/module.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
build:
22
cmake: .
33
kconfig: Kconfig.nrf
4+
kconfig-ext: true
45
sysbuild-cmake: sysbuild
56
sysbuild-kconfig: sysbuild/Kconfig.sysbuild
67
settings:

0 commit comments

Comments
 (0)