[PATCH 00/16] kconfig: fix choice value calculation with misc cleanups.
From: Masahiro Yamada
Date: Tue Jun 11 2024 - 13:56:07 EST
The main patch for this series is:
"kconfig: refactor choice value calculation"
This rewrites the handling of user values for choices.
The others are misc cleanups.
Masahiro Yamada (16):
kconfig: remove unneeded code in expr_compare_type()
kconfig: add fallthrough comments to expr_compare_type()
kconfig: introduce choice_set_value() helper
kconfig: remember the current choice while parsing the choice block
kconfig: import list_move() and list_move_tail()
kconfig: refactor choice value calculation
kconfig: remove sym_get_choice_value()
kconfig: remove conf_unsaved in conf_read_simple()
kconfig: change sym_choice_default() to take the choice menu
kconfig: use menu_list_for_each_sym() in sym_choice_default()
kconfig: remove expr_list_for_each_sym() macro
kconfig: use sym_get_choice_menu() in sym_check_print_recursive()
kconfig: use sym_get_choice_menu() in sym_check_choice_deps()
kconfig: use sym_get_choice_menu() in sym_check_deps()
kconfig: remove P_CHOICE property
kconfig: remove E_LIST expression type
scripts/kconfig/conf.c | 139 ++++++++++----------
scripts/kconfig/confdata.c | 61 ++-------
scripts/kconfig/expr.c | 23 +---
scripts/kconfig/expr.h | 21 ++-
scripts/kconfig/gconf.c | 2 +-
scripts/kconfig/list.h | 23 ++++
scripts/kconfig/lkc.h | 10 +-
scripts/kconfig/lkc_proto.h | 2 +-
scripts/kconfig/mconf.c | 8 +-
scripts/kconfig/menu.c | 25 +---
scripts/kconfig/nconf.c | 8 +-
scripts/kconfig/parser.y | 18 ++-
scripts/kconfig/qconf.cc | 8 --
scripts/kconfig/symbol.c | 252 +++++++++++++++++++++---------------
14 files changed, 285 insertions(+), 315 deletions(-)
--
2.43.0