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 modules: adding support for ROOTs definitions in zephyr/module.yml 2020-08-05 08:06:07 -04:00
bintools cmake: Correct PATHS usage 2020-05-20 12:10:20 +02:00
compiler coding_guideline: Add optional flag to check override initialization 2020-08-28 16:50:39 -04:00
emu cmake: combine nsim and mdb for emulation 2020-08-14 13:30:56 +02:00
flash cmake: flash: remove unused cache variables 2020-08-19 09:51:13 -04:00
ide
linker/ld cmake: Correct PATHS usage 2020-05-20 12:10:20 +02:00
makefile_exports cmake: Add option for exporting build metadata to Make 2020-01-23 15:09:12 -05:00
reports cmake: generate json file for ram/rom reports 2020-08-14 18:49:26 -04:00
toolchain cmake: Set TOOLCHAIN_ARCH based on OS_PLATFORM 2020-08-07 06:54:18 -05:00
usage cmake: sort shield list and improve indent 2020-08-05 12:01:49 +02:00
util
boards.cmake doc,cmake: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
ccache.cmake
cfb.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
dts.cmake devicetree: use edt.pickle more 2020-07-23 09:19:45 -05:00
extensions.cmake cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
extra_flags.cmake cmake: extra_flags: fix EXTRA_CPPFLAGS being applied as macros 2019-12-13 13:23:40 -05:00
gcc-m-cpu.cmake cmake: gcc: add support for compiling for the ARM Cortex-M1 2020-08-14 13:35:39 -05:00
generic_toolchain.cmake cmake: Zephyr sdk package handling 2020-05-08 17:15:55 +02:00
git.cmake
hex.cmake
host-tools.cmake modules: adding support for ROOTs definitions in zephyr/module.yml 2020-08-05 08:06:07 -04:00
kconfig.cmake cmake: export Zephyr modules as Kconfig variables. 2020-08-31 12:15:02 +02:00
kobj.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
pristine.cmake
python.cmake cmake: find python3 on windows when multiarch are installed 2020-05-13 12:13:36 +02:00
target_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
version.cmake cmake: Added possibility to disable the printing of version 2020-03-27 16:23:46 +01:00
west.cmake cmake: convert WEST_PYTHON path to be correct CMake style 2020-08-06 13:49:08 +02:00
zephyr_module.cmake cmake: Zephyr module error on module name current 2020-08-31 12:15:02 +02:00