Comment blocks for menus are great for dotconfig readability, but currently it's the only type (beside plain comments) of submenus for which these block are generated. This series expands the code to also generate such blocks for choices and menuconfigs and additionally expands the comments themselves a bit to let know if they belong to choice or menu{,config} block. Alexander Lobakin (2): kconfig: fence choices and menuconfigs with comments in .config too kconfig: mention submenu type in comment blocks in .config scripts/kconfig/confdata.c | 43 +++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 14 deletions(-) -- 2.31.0