mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-23 21:06:31 +00:00
Assigning to promptless symbols has no effect. Previously, the only check was for whether the value assigned to a symbol matched its final value. This misses cases where a promptless symbol is assigned to and just happens to get the assigned-to value as its final value. Instead, detect whether configuration files are being merged (by checking if zephyr/.config already exists), and explicitly check for assignments to promptless symbols in that case. We can't do it when zephyr/.config already exists (and is being loaded), because it includes values for promptless symbols as well. With the no-prompt check moved out, also use a more specific message for it, and remove stuff related to prompts elsewhere. Shorten messages a bit at the same time, and add two warn() and err() helpers. Fixes: #20697 Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
checkpatch | ||
ci | ||
coccinelle | ||
dts | ||
footprint | ||
gitlint | ||
kconfig | ||
release | ||
sanity_chk | ||
support | ||
west_commands | ||
.gitignore | ||
checkpatch.pl | ||
checkstack.pl | ||
coccicheck | ||
dir_is_writeable.py | ||
elf_helper.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_priv_stacks.py | ||
gen_relocate_app.py | ||
gen_syscalls.py | ||
mergehex.py | ||
parse_syscalls.py | ||
process_gperf.py | ||
requirements.txt | ||
sanitycheck | ||
series-push-hook.sh | ||
spelling.txt | ||
subfolder_list.py | ||
tags.sh | ||
valgrind.supp | ||
west-commands.yml | ||
zephyr_module.py |