cmake: kconfig: allow build systems to decide defconfig
Allow build system to define an alternative defconfig file. This allows reusing the existing kconfig.cmake file in other projects, such as multi image builds. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
815b974382
commit
a3a0112e03
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ else()
|
|||
set(KCONFIG_ROOT ${ZEPHYR_BASE}/Kconfig)
|
||||
endif()
|
||||
|
||||
set(BOARD_DEFCONFIG ${BOARD_DIR}/${BOARD}_defconfig)
|
||||
set_ifndef(BOARD_DEFCONFIG ${BOARD_DIR}/${BOARD}_defconfig)
|
||||
set(DOTCONFIG ${PROJECT_BINARY_DIR}/.config)
|
||||
set(PARSED_KCONFIG_SOURCES_TXT ${PROJECT_BINARY_DIR}/kconfig/sources.txt)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue