zephyr/scripts
Torsten Rasmussen f24f88324c scripts: module: support for name field in zephyr/module.yml
The folder name of a Zephyr module is also used as its module name
when integrating it into the build system.

This means that a Zephyr module, BAR, located in:
<workspace>/modules/foo
                    |--- zephyr
                          |--- CMakeLists.txt
                          |--- Kconfig

will be referred to as FOO in the build system, that is:
ZEPHYR_FOO_MODULE_DIR==<workspace>/modules/foo
ZEPHYR_FOO_CMAKE_DIR==<workspace>/modules/foo/zephyr

The `name` field allows the module to specify its module name,
independent of its location like:

<workspace>/modules/foo/zephyr/module.yml
```
name: bar
build:
  cmake: zephyr
```

will instead be referred to as BAR in the build system, that is:
ZEPHYR_BAR_MODULE_DIR==<workspace>/modules/foo
ZEPHYR_BAR_CMAKE_DIR==<workspace>/modules/foo/zephyr

This allows for greater flexibility of relocating Zephyr modules in
other folders and at the same time be guaranteed that other modules
depending on `ZEPHYR_BAR_MODULE_DIR` is still working.

If `name` field is not specified in `module.yml`, then the existing
behavior of using the folder name will be used.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-01-18 21:53:20 +01:00
..
checkpatch
ci ci: handle checpatch warnings as errors 2021-01-14 17:29:37 -05:00
coccinelle
coredump
dts scripts: dts: gen_defines: don't include descriptions 2021-01-16 07:59:27 -06:00
footprint cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
gitlint
kconfig scripts/Kconfig: Add dt_node_has_prop Kconfig function 2021-01-15 10:29:30 -05:00
net net: scripts: Make test runner script fully generic 2020-11-20 16:07:59 +02:00
pylib/twister twister: remove test type from json 2021-01-18 08:30:49 -05:00
release twister: change all occurances of sanitycheck 2020-12-11 14:13:02 -05:00
schemas/twister cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
support
tests twister: remove some leftover sanitycheck mentions 2020-12-14 14:13:16 -05:00
tracing
west_commands Revert "scripts: west build: default build.pristine to auto" 2021-01-17 08:58:54 -06:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
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
gen_syscalls.py
get_maintainer.py
list_boards.py scripts: add list_boards.py 2021-01-15 15:07:49 -05:00
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements-build-test.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements-compliance.txt requirements-compliance: restrict junitparser version < 2 2021-01-13 07:58:37 -05:00
requirements-doc.txt requirements-doc: add missing pkwalify 2021-01-11 14:51:45 -05:00
requirements-extras.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements-run-test.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements.txt
sanitycheck twister: add a wrapper script with old name 2020-12-11 14:13:02 -05:00
series-push-hook.sh scripts: series-push-hook: Fix behavior after rebase 2020-10-21 07:16:54 -05:00
spelling.txt
subfolder_list.py
tags.sh
twister twister: remove some leftover sanitycheck mentions 2020-12-14 14:13:16 -05:00
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py scripts: module: support for name field in zephyr/module.yml 2021-01-18 21:53:20 +01:00