zephyr/scripts/kconfig
Ulf Magnusson 53f4189075 scripts: kconfig: Do not print warnings for choice overriding
Andy Ross wanted to override a choice selection from a board defconfig
file in a prj.conf, but this could trigger the
assigned-value-didn't-take warning, because the choice symbol set to y
in the board defconfig file ends up as n after another choice symbol is
selected.

(Note: Setting any choice symbol to y is enough to make it the choice
(user) selection. There's no need to set the other symbols to n.)

Fix the warning by checking choices at the choice level rather than at
the level of individual choice symbols. This also makes the warning a
bit more informative in general for choice symbols.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:09:47 -04:00
..
checkconfig.py kconfig: Mention that checkconfig.py lacks Kconfiglib 2 support 2018-05-07 21:53:37 +02:00
diffconfig scripts: move kconfig related scripts to scripts/kconfig 2017-09-11 08:53:56 -07:00
kconfig.py scripts: kconfig: Do not print warnings for choice overriding 2018-07-03 17:09:47 -04:00
kconfiglib.py kconfiglib: Update to use redesigned 'referenced' API 2018-06-25 10:31:08 +02:00
menuconfig.py menuconfig: Allow searches from the info dialog and vice versa 2018-06-18 14:41:53 -04:00