public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] mconf: suppress empty submenus
@ 2013-05-15 14:05 Dirk Gouders
  2013-05-15 14:05 ` [PATCH] " Dirk Gouders
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Dirk Gouders @ 2013-05-15 14:05 UTC (permalink / raw)
  To: linux-kbuild


Hello,

I noticed that sometimes it happens that there are empty
submenus, and I tried to see if they can't be suppressed
by mconf (if not explicitely done by the kbuild-language).

Well, I am not sure if someone wants this change and also
if I realized all possible situations and therefore the
patch is not meant to be accepted as is but as a proof-of-concept.

Because of that I implemented the changes as a new function
menu_is_visible_new() and a helper function that walks the whole menu
structure and compares the results of the old and the new function.

I also tried to add coments to the new function which reflect
my understanding but of course might be incomplete or even wrong.

I'd be glad if someone takes the time to test and/or review
the code or comment on the sanity of such a change.

Attached is an example output of the helper function (i.e.
empty dialogs that would be suppressed by the menu_is_visible_new()).

Dirk

------------------------------------------------------------------------
IRQ subsystem is now invisible
Bus devices is now invisible
Texas Instruments shared transport line discipline is now invisible
Microsoft Hyper-V guest support is now invisible
Hardware Spinlock drivers is now invisible
Rpmsg drivers is now invisible

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-05-20 15:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15 14:05 [RFC] mconf: suppress empty submenus Dirk Gouders
2013-05-15 14:05 ` [PATCH] " Dirk Gouders
2013-05-16  8:24 ` [RFC] " Dirk Gouders
2013-05-16 23:04 ` Yann E. MORIN
2013-05-17  4:22   ` Dirk Gouders
2013-05-17 10:28   ` [RFC] mconf: mark empty menus/menuconfigs different form non-empty ones Dirk Gouders
2013-05-17 10:28     ` [PATCH] " Dirk Gouders
2013-05-17 12:42       ` [PATCH v2] mconf/nconf: mark empty menus/menuconfigs different from " Dirk Gouders
2013-05-19 15:14         ` Yann E. MORIN
2013-05-19 19:49           ` [PATCH v3] " Dirk Gouders
2013-05-20 15:50             ` Yann E. MORIN
2013-05-19  9:08     ` [RFC] mconf: mark empty menus/menuconfigs different form " Yann E. MORIN
2013-05-19 16:22       ` Dirk Gouders

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox