kconfig: add a function to dump all menu entries in a tree-like format
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 29 Jun 2025 18:48:31 +0000 (03:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 26 Jul 2025 06:31:30 +0000 (15:31 +0900)
commit263e70bc42862af18dce43393ef14277827a0c7f
tree4ceb3465d431ad21a9b1f0194f0a671da3404114
parent65056488e8bfaf6626cd2bba9fa847b264d9fefc
kconfig: add a function to dump all menu entries in a tree-like format

This is useful for debugging purposes. menu_finalize() re-parents menu
entries, and this function can be used to dump the final structure of
the menu tree.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/lkc.h
scripts/kconfig/menu.c