zephyr/scripts
Torsten Rasmussen 3dd65a7663 runners: remove dependencies from runners
Today, there is a build target is added for each runner: flash, debug,
debugserver, attach.

And those runners will have a dependency to Zephyr logical target that
is built before invoking `west <runner>`.

This design has some flaws, mainly that additional dependencies directly
on the target will not be built when running `west <runner>` directly.
That generator expressions cannot be used for the DEPENDS argument.

Instead, the build target `<runner>` will not have any dependencies, and
will raise a build error if a dependency is added to the target.
Due to how `add_dependencies()` work, this must be done as a build time
check, and not configure time check.

`west <runner>` will invoke a build before executing the runner, and
this way ensure the build target is up-to-date, which again removes the
need for a dedicated `west_<runner>_target`.

It also minimizes the risk of developer errors, as developers no longer
need to consider the need for adding additional dependencies.
If a custom target is part of the default `all` build, then it's ensured
to be up-to-date.

Fixes: Issue reported on slack.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-04-19 15:35:30 +02:00
..
checkpatch aarch64: mem_domain: Introduce k_mem_partition_attr_t 2021-03-01 09:25:44 -05:00
ci ci: pylint: relax similar lines rule 2021-04-13 16:33:18 -05:00
coccinelle scripts: coccinelle: Fix parse error 2021-04-14 14:18:02 -04:00
coredump debug: coredump: remove z_ prefix for stuff used outside subsys 2021-01-21 22:08:59 -05:00
dts scripts: edt: Add support for include property filtering 2021-04-07 14:16:33 +02:00
footprint scripts: size_report: Add handling of depth argument 2021-04-14 07:05:58 -04:00
gitlint
kconfig tracing: remove cpu_stats in favor of thread runtime stats 2021-04-16 15:31:24 -04:00
net net: scripts: Make test runner script fully generic 2020-11-20 16:07:59 +02:00
pylib/twister twister: Fix memory footprint reporting logic 2021-04-18 21:49:21 -04:00
release twister: change all occurances of sanitycheck 2020-12-11 14:13:02 -05:00
schemas/twister cmake: emu: Add arm fvp emulator 2021-04-13 07:47:44 -04:00
support
tests twister: remove some leftover sanitycheck mentions 2020-12-14 14:13:16 -05:00
tracing tracing: scripts: add scripts for parsing ctf data 2020-08-24 13:21:12 +02:00
west_commands runners: remove dependencies from runners 2021-04-19 15:35:30 +02:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
checkpatch.pl scripts: checkpatch: do not require top-level Makefile 2021-03-29 10:59:28 -04:00
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py scripts: file2hex.py: PEP 8 style fix 2020-06-12 11:09:58 +02:00
gen_app_partitions.py linker: tweak section naming to feet all linkers 2020-09-05 10:22:56 -05:00
gen_cfb_font_header.py
gen_gcov_files.py scripts: gen_gcov_files.py: add argument help text 2020-06-13 16:33:22 -04:00
gen_handles.py dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
gen_kobject_list.py gen_kobject_list.py: Add support for 64-bit addresses 2021-03-25 14:07:50 +01:00
gen_offset_header.py
gen_relocate_app.py scripts: gen_relocate_app.py: fix undefined _ADDR 2021-04-16 14:44:10 -05:00
gen_syscalls.py scripts: gen_syscalls: declare syscalls with void instead of zero args 2021-03-05 12:42:36 -05:00
get_maintainer.py scripts: add maintainer script 2020-07-24 17:07:48 +02:00
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 scripts: move pip pykwalify from requirements-build-test to -base 2021-01-18 16:56:24 -05:00
requirements-build-test.txt scripts: move pip pykwalify from requirements-build-test to -base 2021-01-18 16:56:24 -05:00
requirements-compliance.txt requirements-compliance: restrict junitparser version < 2 2021-01-13 07:58:37 -05:00
requirements-doc.txt doc: allow up to breathe 4.28.x 2021-04-10 07:27:58 -04:00
requirements-extras.txt modules: nanopb: introduce new module 2021-04-08 14:57:55 +02:00
requirements-run-test.txt requirements: Update to pyocd 0.29 for LPC55S69 support 2021-01-21 15:53:22 -05:00
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
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 scripts: subfolder_list.py: refactor the code 2020-07-20 17:31:53 -04:00
tags.sh scripts: Update paths on tags.sh 2021-02-19 05:28:09 -06:00
twister twister: Fix ram/rom reporting 2021-04-18 21:49:21 -04:00
uf2conv.py cmake: Add UF2 as an additional build output option. 2021-02-23 21:11:04 +01:00
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py scripts: modules: support west group feature 2021-01-29 08:06:17 -05:00