mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 06:25:21 +00:00
In CMake, ZEPHYR_CURRENT_MODULE_DIR is used during processing of module CMakeLists.txt files. If a module is named `current` then it's corresponding `ZEPHYR_<module_name>_MODULE_DIR` would become ZEPHYR_CURRENT_MODULE_DIR and thus colliding with internal Zephyr CMake variable. Using module name `current` is therefore forbidden. Print an error to users when a module named `current` is used in Zephyr. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
---|---|---|
.. | ||
app | ||
bintools | ||
compiler | ||
emu | ||
flash | ||
ide | ||
linker/ld | ||
makefile_exports | ||
reports | ||
toolchain | ||
usage | ||
util | ||
boards.cmake | ||
ccache.cmake | ||
cfb.cmake | ||
dts.cmake | ||
extensions.cmake | ||
extra_flags.cmake | ||
gcc-m-cpu.cmake | ||
generic_toolchain.cmake | ||
git.cmake | ||
hex.cmake | ||
host-tools.cmake | ||
kconfig.cmake | ||
kobj.cmake | ||
pristine.cmake | ||
python.cmake | ||
target_toolchain.cmake | ||
version.cmake | ||
west.cmake | ||
zephyr_module.cmake |