cmake: relocation of generated Kconfig file for Zephyr modules

This commit relocates the generated Kconfig.modules file from
${CMAKE_BINARY_DIR} into ${CMAKE_BINARY_DIR}/Kconfig.

This is done as preparation of multiple SOC and ARCH root support.

A single Kconfig folder inside ${CMAKE_BINARY_DIR} helps to keep the
build folder tidy.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2020-07-06 21:39:31 +02:00 committed by Anas Nashif
commit 01f55a4e53
4 changed files with 9 additions and 4 deletions

View file

@ -6,7 +6,7 @@
menu "Modules"
source "$(CMAKE_BINARY_DIR)/Kconfig.modules"
source "$(KCONFIG_BINARY_DIR)/Kconfig.modules"
source "modules/Kconfig"
endmenu