Lines Matching full:module

11 # CMakeLists.txt and Kconfig files can reside directly in the Zephyr module or
13 # The `<module>/zephyr/module.yml` file specifies whether the build files are
14 # located in the Zephyr module or in a MODULE_EXT_ROOT.
17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>]
19 # It looks for: <module>/zephyr/module.yml or
20 # <module>/zephyr/CMakeLists.txt
21 # to load the Zephyr module into Zephyr build system.
23 # search for zephyr/module.yml from the current workspace's manifest.
25 # If the module.yml file specifies that build files are located in a
31 # Settings used by Zephyr module but where systems may define an alternative value.
52 # Zephyr module uses west, so only call it if west is installed or
96 foreach(module ${zephyr_modules_txt})
98 # one module. The use of quotes is required due to CMake not supporting
100 string(REGEX REPLACE "\"(.*)\":\".*\":\".*\"" "\\1" module_name ${module})
109 foreach(module ${sysbuild_modules_txt})
111 # one module. The use of quotes is required due to CMake not supporting
113 string(REGEX REPLACE "\"(.*)\":\".*\":\".*\"" "\\1" module_name ${module})
117 # MODULE_EXT_ROOT is process order which means Zephyr module roots processed
123 message(FATAL_ERROR "No `${module_cmake_file_path}` found in module root `${root}`.")
129 foreach(module ${zephyr_modules_txt})
131 # one Zephyr module. The use of quotes is required due to CMake not
133 string(CONFIGURE ${module} module)
134 string(REGEX REPLACE "\"(.*)\":\".*\":\".*\"" "\\1" module_name ${module})
135 string(REGEX REPLACE "\".*\":\"(.*)\":\".*\"" "\\1" module_path ${module})
136 string(REGEX REPLACE "\".*\":\".*\":\"(.*)\"" "\\1" cmake_path ${module})
144 message(FATAL_ERROR "Found Zephyr module named: ${module_name}\n\
150 foreach(module ${sysbuild_modules_txt})
152 # one Zephyr module. The use of quotes is required due to CMake not
154 string(CONFIGURE ${module} module)
155 string(REGEX REPLACE "\"(.*)\":\".*\":\".*\"" "\\1" module_name ${module})
156 string(REGEX REPLACE "\".*\":\"(.*)\":\".*\"" "\\1" module_path ${module})
157 string(REGEX REPLACE "\".*\":\".*\":\"(.*)\"" "\\1" cmake_path ${module})
164 message(FATAL_ERROR "Found Zephyr module named: ${module_name}\n\