mconf/nconf: mark empty menus/menuconfigs different from non-empty ones
authorDirk Gouders <dirk@gouders.net>
Sun, 19 May 2013 19:49:34 +0000 (21:49 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 Jun 2013 21:58:59 +0000 (23:58 +0200)
commit1278ebdbc3167883f32095491990fbdc7cdf8b5e
tree782074e7597e09796a5307e1facaf4657cdd95e9
parente0b42605e685a0833303e1d4dde277c99d9e17b5
mconf/nconf: mark empty menus/menuconfigs different from non-empty ones

Submenus are sometimes empty and it would be nice if there is
something that notifies us that we should not expect any content
_before_ we enter a submenu.

A new function menu_is_empty() was introduced and empty menus and
menuconfigs are now marked by "----" as opposed to non-empty ones that
are marked by "--->".

This scheme was suggested by "Yann E. MORIN" <yann.morin.1998@free.fr>.

Signed-off-by: Dirk Gouders <dirk@gouders.net>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/kconfig/lkc_proto.h
scripts/kconfig/mconf.c
scripts/kconfig/menu.c
scripts/kconfig/nconf.c
This page took 0.03028 seconds and 5 git commands to generate.