zephyr/scripts/kconfig
Andrzej Głąbek cd00a3a3c9 scripts: kconfigfunctions: Redefine dt_nodelabel_has_compat()
The function in its current form is confusing because unlike other
similarly named functions (dt_nodelabel_has_prop(), dt_node_has_prop())
or devicetree macros (DT_NODE_HAS_COMPAT(), DT_NODE_HAS_PROP()), this
function takes into account the status of the checked node and returns
"y" only when the node is enabled.
This commit redefines dt_nodelabel_has_compat() so that it no longer
checks the node status, and for cases where the previous functionality
is needed, a new function named dt_nodelabel_enabled_with_compat()
is introduced as a replacement.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-04-02 15:14:38 +02:00
..
diffconfig license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
guiconfig.py guiconfig: fix search function 2021-02-08 16:24:05 -05:00
hardenconfig.py hardening: Deal with empty lines in csv file 2020-08-12 16:43:18 -04:00
hardened.csv net: remove unmaintained 6LoCAN implementation 2022-03-09 18:07:31 +01:00
kconfig.py scripts: kconfig: update symbol info hint URL 2022-03-03 08:30:25 -05:00
kconfigfunctions.py scripts: kconfigfunctions: Redefine dt_nodelabel_has_compat() 2022-04-02 15:14:38 +02:00
kconfiglib.py kconfig: kconfiglib.py: Backup files only 2021-01-28 10:40:24 -05:00
lint.py scripts: kconfig: lint.py: Add check for missing CONFIG_ prefix 2020-01-31 19:29:49 +01:00
menuconfig.py scripts: menuconfig: proper handling of NULL character as input 2021-04-07 10:19:14 +02:00