zephyr/scripts
Torsten Rasmussen 3d88083bf1 cmake: zephyr modules: sanitize all module name when used as variable
The introduction of Zephyr module glue code in the Zephyr repository
introduces a Kconfig variable in the form of:
`config ZEPHYR_<MODULE_NAME>_MODULE`.

All Kconfig variables go into `autoconf.h`, therefore it is necessary
to sanitize the Kconfig variable, so that it does not contain special
characters. To ensure consistent variable name, then the module name
will be sanitized in all variable use in both Kconfig and CMake.
The sanitization is done be replacing all special characters with an
underscore, `_`.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-01-20 12:59:19 +01:00
..
checkpatch
ci cmake: zephyr modules: sanitize all module name when used as variable 2021-01-20 12:59:19 +01:00
coccinelle
coredump
dts
footprint
gitlint
kconfig
net
pylib/twister
release
schemas/twister
support
tests
tracing
west_commands
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py
gen_gcov_files.py
gen_kobject_list.py
gen_offset_header.py
gen_relocate_app.py cmake: scripts: supporting gen_relocate_app feature in windows 2021-01-20 11:51:47 +01:00
gen_syscalls.py
get_maintainer.py
list_boards.py
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt
requirements-extras.txt
requirements-run-test.txt
requirements.txt
sanitycheck
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
twister
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py cmake: zephyr modules: sanitize all module name when used as variable 2021-01-20 12:59:19 +01:00