zephyr/scripts/kconfig
Grzegorz Swiderski ce1b8d6d16 scripts: kconfig: Make DEPRECATED/EXPERIMENTAL symbols optional
Make `kconfig.py` not crash when any one of these settings is undefined:

  * DEPRECATED
  * EXPERIMENTAL
  * WARN_DEPRECATED
  * WARN_EXPERIMENTAL

While these will continue to exist in Zephyr, they shouldn't be strictly
required for the script to work. One situation in which they could go
missing is when a user creates an application-specific Kconfig root, but
forgets to source "Kconfig.zephyr" inside it - not that this is expected
to work anyway, but it could at least raise a more intelligible error.

Note that when WARN_DEPRECATED is undefined, selecting DEPRECATED will
always produce warnings. Same with WARN_EXPERIMENTAL and EXPERIMENTAL.
This matches the fact that the WARN_* symbols normally have `default y`.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2023-10-11 18:25:57 +03:00
..
diffconfig
guiconfig.py
hardenconfig.py
hardened.csv net: ppp: Mark the PPP L2 as non-experimental 2023-09-29 10:33:50 +02:00
kconfig.py scripts: kconfig: Make DEPRECATED/EXPERIMENTAL symbols optional 2023-10-11 18:25:57 +03:00
kconfigfunctions.py scripts: kconfig: size/addr by nodelabel 2023-08-02 10:38:23 +02:00
kconfiglib.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
lint.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
menuconfig.py