]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kbuild: Fix help text not displayed in choice option.
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Tue, 2 Aug 2011 17:49:52 +0000 (18:49 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:11 +0000 (11:18 -0800)
commita09ee0de6b72f9e0c2215a2ab8042775745d9382
tree41c50d5a814857c0b0e64d765f6c357e3ba73b2d
parent13d7328edab35de945a12975b26e65e60a76953b
kbuild: Fix help text not displayed in choice option.

commit 3f198dfee49d2e9c30583c62b0c79286c78c7b44 upstream.

Help text under choice menu is never displayed because it does not have
symbol name associated with it, however many kconfigs have help text
under choice, assuming that it will be displayed when user selects help.
for example in Kconfig if we have:
choice
        prompt "Choice"
        ---help---
           HELP TEXT ...

config A
        bool "A"

config B
        bool "B"

endchoice

Without this patch "HELP TEXT" is not displayed when user selects help
option when "Choice" is highlighted from menuconfig or xconfig or
gconfig.

This patch changes the logic in menu_get_ext_help to display help for
cases which dont have symbol names like choice.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Reviewed-by: Stuart Menefy <stuart.menefy@st.com>
Reviewed-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
scripts/kconfig/menu.c