aboutsummaryrefslogtreecommitdiffstats
path: root/support/kconfig/menu.c
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-04-14 02:53:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-21 23:33:11 +0200
commitb58bf60b519353e983e372f5627d639e7cc72a7a (patch)
tree776ef1b941bce09441eca5a529faecde361836af /support/kconfig/menu.c
parent49f836380a5b110b583210f28781204e45982b86 (diff)
downloadbuildroot-novena-b58bf60b519353e983e372f5627d639e7cc72a7a.tar.gz
buildroot-novena-b58bf60b519353e983e372f5627d639e7cc72a7a.zip
support/kconfig: use kconfig-provided way of setting the CONFIG_ prefix
It's now been a while since it has been possible to build the kconfig parser to understand a prefix other than CONFIG_, and even no prefix at all, by setting the CONFIG_ macro (#define) at biuld time. Just use that, insted of patching, it will make it easier for us in the future. Our patches have been refreshed at the same time. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support/kconfig/menu.c')
-rw-r--r--support/kconfig/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/kconfig/menu.c b/support/kconfig/menu.c
index 06a93646d..f3bffa309 100644
--- a/support/kconfig/menu.c
+++ b/support/kconfig/menu.c
@@ -635,7 +635,7 @@ void menu_get_ext_help(struct menu *menu, struct gstr *help)
if (menu_has_help(menu)) {
if (sym->name)
- str_printf(help, "%s:\n\n", sym->name);
+ str_printf(help, "%s%s:\n\n", CONFIG_, sym->name);
help_text = menu_get_help(menu);
}
str_printf(help, "%s\n", _(help_text));