zephyr/scripts
Johan Hedberg 5562bb9c3a scripts: zephyr_module: Add Kconfig symbol for blobs presence
For any module that defines blobs, add a new Kconfig symbol to indicate
whether the blobs have been fetched or not. Example output for the
hal_silabs module:

   # (no blobs present)
  $ scripts/zephyr_module.py --kconfig-out=/dev/stdout \
    -m ../modules/hal/silabs
  menu "hal_silabs (../modules/hal/silabs)"
  osource "/Users/johedber/src/zephyr/modules/hal/silabs/zephyr/Kconfig"
  config ZEPHYR_HAL_SILABS_MODULE
  	bool
  	default y
  config ZEPHYR_HAL_SILABS_MODULE_BLOBS
  	bool
  endmenu
  $ west blobs fetch hal_silabs
   # (blob fetching output)
  $ scripts/zephyr_module.py --kconfig-out=/dev/stdout \
    -m ../modules/hal/silabs
  menu "hal_silabs (../modules/hal/silabs)"
  osource "/Users/johedber/src/zephyr/modules/hal/silabs/zephyr/Kconfig"
  config ZEPHYR_HAL_SILABS_MODULE
  	bool
  	default y
  	select TAINT_BLOBS

  config ZEPHYR_HAL_SILABS_MODULE_BLOBS
  	bool
  	default y
  endmenu

The generated output for modules which do not define blobs is not affected.

Having this additional symbol for blobs lets us specify Kconfig
dependencies for features which require the blobs to be present.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-08-30 11:45:56 -04:00
..
build everywhere: replace double words 2024-06-25 06:05:35 -04:00
checkpatch scripts: checkpatch: add stdio.h FILE typedef 2024-06-20 14:07:14 -04:00
ci scripts: ci: Fix clang-format compliance for additions or removals 2024-08-28 16:35:20 -04: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 everywhere: replace double words 2024-06-25 06:05:35 -04:00
footprint scripts: fixed missing argument in parse_from_attribute call. 2024-06-20 17:03:21 -04:00
generate_usb_vif
gitlint
kconfig scripts: hardenconfig: Improve deprecated and experimental detection 2024-08-14 09:41:00 +02:00
logging/dictionary scripts: logging/dictionary: fix annoying pylint warning 2024-06-28 21:14:14 +02:00
native_simulator arch posix: Implement arch_thread_name_set() 2024-08-23 08:01:33 -04:00
net
profiling scripts: profiling: Add stackcollapse script 2024-08-13 18:28:44 -04:00
pylib twister: Group test plan reporting options 2024-08-27 15:13:52 -04:00
pylint/checkers
release
schemas scripts: west robot & simulation: Fix OOT 2024-07-01 16:10:35 -04:00
support
tests twister: tests: Add unit test for readline method in handler 2024-08-24 07:15:17 -04:00
tracing
utils
west_commands runners: linkserver: Add .elf support to the linkserver flash command 2024-08-29 11:37:54 +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
list_hardware.py scripts: list_hardware: Find all SoCs before checking runner configs 2024-07-10 11:46:52 -04:00
list_shields.py
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: Minimum clang-format version 2024-08-26 14:39:02 -04:00
requirements-extras.txt scripts: Remove duplicate clang-format pip package 2024-08-20 18:57:57 -04:00
requirements-run-test.txt
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
valgrind.supp
west-commands.yml commands: add the 'sdk' command to manage SDK. 2024-08-21 16:54:56 -04:00
zephyr_module.py scripts: zephyr_module: Add Kconfig symbol for blobs presence 2024-08-30 11:45:56 -04:00