Lines Matching +full:kconfig +full:- +full:ext
1 # SPDX-License-Identifier: Apache-2.0
8 # This cmake file provides functionality to import CMakeLists.txt and Kconfig
11 # CMakeLists.txt and Kconfig files can reside directly in the Zephyr module or
17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>]
27 # - `ZEPHYR_<MODULE_NAME>_CMAKE_DIR` is used for inclusion of the CMakeLists.txt
28 # - `ZEPHYR_<MODULE_NAME>_KCONFIG` is used for inclusion of the Kconfig
32 set_ifndef(KCONFIG_BINARY_DIR ${CMAKE_BINARY_DIR}/Kconfig)
36 set(ZEPHYR_MODULES_ARG "--modules" ${ZEPHYR_MODULES})
41 set(EXTRA_ZEPHYR_MODULES_ARG "--extra-modules" ${EXTRA_ZEPHYR_MODULES})
45 set(kconfig_modules_file ${KCONFIG_BINARY_DIR}/Kconfig.modules)
46 set(kconfig_sysbuild_file ${KCONFIG_BINARY_DIR}/Kconfig.sysbuild.modules)
57 --zephyr-base=${ZEPHYR_BASE}
60 --kconfig-out ${kconfig_modules_file}
61 --cmake-out ${cmake_modules_file}
62 --sysbuild-kconfig-out ${kconfig_sysbuild_file}
63 --sysbuild-cmake-out ${cmake_sysbuild_file}
64 --settings-out ${zephyr_settings_file}
77 file(STRINGS ${zephyr_settings_file} zephyr_settings_txt ENCODING UTF-8 REGEX "^[^#]")
88 # Append ZEPHYR_BASE as a default ext root at lowest priority
92 file(STRINGS ${cmake_modules_file} zephyr_modules_txt ENCODING UTF-8)
105 file(STRINGS ${cmake_sysbuild_file} sysbuild_modules_txt ENCODING UTF-8)