kconfig: use parent->dep as the parentdep of 'menu'
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 17 Dec 2019 04:14:17 +0000 (13:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 6 Jan 2020 17:18:44 +0000 (02:18 +0900)
commitde026ca9152c3b3d8c85b8884a29040975ac1424
treebc756b4ea6521a73971398531cdac1bff9179ba0
parentf64048a20b0ce1bb1fd5c3f80e82556db73fe08b
kconfig: use parent->dep as the parentdep of 'menu'

In menu_finalize(), the dependency of a menu entry is propagated
downwards.

For the 'menu', parent->dep and parent->prompt->visible.expr have
the same expression. Both accumulate the 'depends on' of itself and
upper menu entries.

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