zephyr/cmake
Torsten Rasmussen 4e8a991590 cmake: Zephyr module error on module name current
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>
2020-08-31 12:15:02 +02:00
..
app
bintools
compiler coding_guideline: Add optional flag to check override initialization 2020-08-28 16:50:39 -04:00
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 cmake: export Zephyr modules as Kconfig variables. 2020-08-31 12:15:02 +02:00
kobj.cmake
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake
west.cmake
zephyr_module.cmake cmake: Zephyr module error on module name current 2020-08-31 12:15:02 +02:00