]> git.baikalelectronics.ru Git - kernel.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)
committerMichal Marek <mmarek@suse.cz>
Mon, 8 Aug 2011 14:01:54 +0000 (16:01 +0200)
commit1ab6c698a4a66aa63886d7b2665c6e4c874b37d9
tree7475ad2d52dfe987438ccbb1b7af99acd6e09fad
parent562a7d6f24034a3a3cf5865ffcb2aea18be0208f
kbuild: Fix help text not displayed in choice option.

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>
Cc: stable@kernel.org
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/menu.c