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)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:47:52 +0000 (11:47 +0100)
commit42edd7729207214913a48ec926f3cc76906833b3
tree71d2c75a729c7975e5c08106b704671de259454e
parent6f72d9b3ed9adee1c766992c0119c3d28a9391a7
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/menu.c