diff -r 68cc5a0d3191 -r d83221161129 kconfig/menu.c --- a/kconfig/menu.c Sun May 08 15:12:55 2011 +0200 +++ b/kconfig/menu.c Tue May 10 22:45:33 2011 +0200 @@ -285,6 +285,11 @@ } } } + if (parent->prompt && + !expr_is_yes(parent->prompt->visible.expr)) { + parent->visibility = expr_alloc_and (parent->visibility, + parent->prompt->visible.expr); + } /* set the type of the remaining choice values */ for (menu = parent->list; menu; menu = menu->next) { current_entry = menu;