zephyr/scripts
Torsten Rasmussen a9efb1dae6 west: update build extension command to use APP_DIR
`west build` can be invoked without specifying the source directory when
being invoked from the source directory itself.
When using `west build` for incremental builds, then the build command
will examine the CMake cache to determine the application dir by using
the value of CMAKE_HOME_DIRECTORY.

With sysbuild, this leads to the wrong assumption that the sysbuild
itself is the application to build.

Instead, have west build look for APP_DIR which points to the correct
source dir when sysbuild is used. Use APPLICATION_SOURCE_DIR when
APP_DIR is not set, as this indicates a no-sysbuild build.

Keep CMAKE_HOME_DIRECTORY behavior as last fallback mechanism.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-06-17 12:09:45 -04:00
..
build llext: add support for SLID-based linking 2024-06-03 15:29:34 -04:00
checkpatch
ci ci: testplan: do not run tests on all platforms when a test changes 2024-06-14 13:59:24 -04:00
coccinelle cocinelle: Add a sematic patch file for ztest string assertions 2024-06-14 19:25:42 +02:00
coredump arch: rename all esf struct to struct arch_esf 2024-06-04 14:02:51 -05:00
dts dts: devicetree.h: add DT_REG_HAS_NAME 2024-06-12 17:12:23 -05:00
footprint samples: Bluetooth: Audio: Change names to <profile>_<role> 2024-05-31 09:56:11 -05:00
generate_usb_vif
gitlint gitlint: do not allow treewide as an area in commit messages 2024-04-10 09:22:24 +02:00
kconfig scripts: kconfig: Add dt_compat_any_has_prop 2024-06-06 20:08:27 -04:00
logging/dictionary scripts: logging: support native_posix dictionary logging 2024-04-12 11:54:18 +02:00
native_simulator native_simulator: Rework fuzzing support 2024-05-02 20:46:03 +03:00
net tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
pylib twister: Fix on output directory reaching backup limit 2024-06-17 12:08:20 -04:00
pylint/checkers
release
schemas twister: recording: Allow JSON data fields 2024-06-14 09:41:52 -04:00
support
tests twister: recording: Allow JSON data fields 2024-06-14 09:41:52 -04:00
tracing
utils doc: release: posix: deprecate non-normative POSIX Kconfig 2024-06-04 16:27:12 -05:00
west_commands west: update build extension command to use APP_DIR 2024-06-17 12:09:45 -04:00
.gitignore
checkpatch.pl checkpatch: Add exception to BRACKED_SPACE rule for macros 2024-06-13 20:16:24 -04:00
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py MAINTAINERS: add 2 new keys: tags, tests 2023-12-22 09:54:12 +01:00
github_helpers.py
list_boards.py scripts: Loader change 2024-05-07 09:38:00 +02:00
list_hardware.py scripts: Loader change 2024-05-07 09:38:00 +02:00
list_shields.py scripts: list_shields: add script for listing the supported shields 2024-05-21 16:47:24 -04:00
make_bugs_pickle.py
requirements-base.txt scripts: dts: update pyyaml version 2024-03-29 09:03:34 -04:00
requirements-build-test.txt scripts: coverage: gcovr to ignore negative counters 2023-11-03 07:57:10 -04:00
requirements-compliance.txt requirements: Set min version of pylint to 3 2024-05-26 21:02:21 +03:00
requirements-extras.txt scripts/requirements: bump imgtool to 2.0.0 2024-02-12 23:26:04 +01:00
requirements-run-test.txt scripts: requirements: run-tests: add python-can 2024-06-03 15:37:49 +02:00
requirements.txt
series-push-hook.sh
set_assignees.py scripts: set_assignees.py: Use "size: XS" label for one-liners 2024-06-06 20:06:47 -04:00
snippets.py terminology: adopt CMake, python, and Kconfig code to use qualifiers 2024-03-21 15:32:17 +01:00
spelling.txt spelling: Replace occurrences of "iff" with "if and only if" 2024-05-06 14:58:08 +01:00
tags.sh
twister twister: Add Twister execution options to twister.json 2024-05-15 14:56:59 +02:00
valgrind.supp valgrind: Update POSIX soc no cpu cleanup suppression 2023-11-29 15:33:49 +01:00
west-commands.yml West: Add west robot command 2024-05-28 12:54:52 +02:00
zephyr_module.py scripts: zephyr_module: Add URL, version to SPDX 2024-06-14 19:07:48 -04:00