summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-08-15 05:57:43 +0200
committerArnaud Lacombe <lacombar@gmail.com>2010-09-20 00:19:26 +0200
commitffb5957bc48f64f0773fd3fbc43cb9bb9b38e270 (patch)
tree968f267b45d124519d681c086c5bba826b0824b6 /scripts/kconfig/conf.c
parentkconfig: rephrase help text not to mention the internal prefix (diff)
downloadlinux-ffb5957bc48f64f0773fd3fbc43cb9bb9b38e270.tar.xz
linux-ffb5957bc48f64f0773fd3fbc43cb9bb9b38e270.zip
kconfig: allow build-time definition of the internal config prefix
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r--scripts/kconfig/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index d56131c0b3c5..d6cfa0ffbaf0 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -425,7 +425,7 @@ static void check_conf(struct menu *menu)
(sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) {
if (input_mode == listnewconfig) {
if (sym->name && !sym_is_choice_value(sym)) {
- printf("CONFIG_%s\n", sym->name);
+ printf("%s%s\n", CONFIG_, sym->name);
}
} else if (input_mode != oldnoconfig) {
if (!conf_cnt++)