mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dist/tools/genconfig: add error on hidden symbols
This extends the error messages to check if a symbol could not be set due to its visibility.
This commit is contained in:
parent
361d41db05
commit
b7bf1e2bd7
3
dist/tools/kconfiglib/genconfig.py
vendored
3
dist/tools/kconfiglib/genconfig.py
vendored
@ -173,6 +173,9 @@ def check_config_symbols(kconf):
|
||||
if rng is not None:
|
||||
msg = " Check that the value is in the correct range:"
|
||||
msg += "[{} - {}] {}\n".format(rng[0], rng[1], rng[2])
|
||||
elif not sym.visibility:
|
||||
msg = " The symbol is not visible, either it is not "
|
||||
msg += "configurable or its prompt is hidden."
|
||||
|
||||
log_error(msg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user