zephyr/scripts
Torsten Rasmussen 5d5c2d4775 cmake: introduce build_info function
The build_info function provides a generic and stable way of dumping
build information to the <build>/build_info.yml file.

The build info file is in YAML format and the keys in the file are
intended to be stable, as to allow external tools to retrieve
information regarding the build.

The main differences to the CMakeCache.txt are:
- Settings in the CMakeCache.txt are user controlled, whereas the
  information in the build info file is intended to be those values
  which are used by the build system regardless if those are specified
  by the developer or picked up automatically.
- Internal build system variables are not present in the CMake cache
  and should not be, because their values are calculated when CMake
  runs.

This also has the benefits of decoupling CMake variable names from
build info keys. Several CMake variables has internal build system
names, and the build system is free to rename those at its own
discretion.

Having dedicated key names ensures a stable API that external tools can
rely upon.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-10-08 17:00:30 +02:00
..
build llext: fix handling of unimplemented syscalls 2024-10-08 16:59:50 +02:00
checkpatch scripts: checkpatch: add stdio.h FILE typedef 2024-06-20 14:07:14 -04:00
ci scripts: ci: check_compliance: add BOARD_REVISION in Kconfig.board.v2 2024-10-07 18:42:14 +02:00
coccinelle scripts: coccinelle: add errno as a reserved name 2024-08-22 14:21:53 -04:00
coredump coredump: Enable thread understanding for arm cortex m 2024-08-02 03:32:09 -04:00
dts devicetree: Adding UNQUOTED, TOKEN, and UPPERTOKEN variants of FULL_NAME 2024-10-08 06:01:10 -04:00
footprint scripts: footprint: Add converter to twister_footprint.json 2024-09-19 03:28:52 -04:00
generate_usb_vif
gitlint
kconfig scripts: hardenconfig: Improve deprecated and experimental detection 2024-08-14 09:41:00 +02:00
logging/dictionary logging: dictionary: Support unsigned integers 2024-10-03 11:40:41 +01:00
native_simulator native_simulator: Get latest from upstream 2024-09-12 14:47:57 +02:00
net
profiling scripts: profiling: Add stackcollapse script 2024-08-13 18:28:44 -04:00
pylib scripts: twister: Fix trailing CR/LF at BinaryHandler logs 2024-09-27 14:30:26 +01:00
pylint/checkers
release
schemas cmake: introduce build_info function 2024-10-08 17:00:30 +02:00
support
tests scripts: twister: Fix trailing CR/LF at BinaryHandler logs 2024-09-27 14:30:26 +01:00
tracing
utils mgmt: mcumgr: transport: bluetooth: add all gatt permission levels 2024-09-19 15:13:19 +02:00
west_commands scripts: west_commands: runners: nrf: add support for nRF54H20 EngB 2024-10-07 18:42:14 +02:00
.gitignore
checkpatch.pl scripts: checkpatch.pl: treat .overlay files as dts 2024-06-21 08:46:12 -04:00
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py scripts: get_maintainer: check maintenance status 2024-06-28 07:19:49 -04:00
github_helpers.py
list_boards.py boards: add board full_name field 2024-10-08 16:57:34 +02:00
list_hardware.py scripts: list_hardware: Find all SoCs before checking runner configs 2024-07-10 11:46:52 -04: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 ci: scripts: do not count PRs labeled as bug in snapshot 2024-07-12 16:10:13 -04:00
requirements-base.txt commands: add the 'sdk' command to manage SDK. 2024-08-21 16:54:56 -04:00
requirements-build-test.txt
requirements-compliance.txt scripts: compliance: add sphinx-lint linter 2024-09-13 11:43:04 -05:00
requirements-extras.txt scripts: footprint: Add converter to twister_footprint.json 2024-09-19 03:28:52 -04:00
requirements-run-test.txt scripts: Remove wrong bz package 2024-09-23 09:59:56 +02:00
requirements.txt
series-push-hook.sh
set_assignees.py ci: set_assignee: pick next area when submitter = assignee 2024-07-10 19:14:17 -04:00
snippets.py
spelling.txt scripts: RISCV instruction SEPC 2024-08-27 10:48:58 -04:00
tags.sh
twister twister: Add Twister execution options to twister.json 2024-05-15 14:56:59 +02:00
valgrind.supp
west-commands.yml west: runners: Add west rtt command with pyocd implementation 2024-09-10 12:39:42 -04:00
zephyr_module.py scripts: zephyr_module: Add Kconfig symbol for blobs presence 2024-08-30 11:45:56 -04:00