aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-06-30 16:53:04 -0400
committerSam Ravnborg <sam@ravnborg.org>2008-07-25 16:12:50 -0400
commitcd9140e1e73a31fd45f1fd4585260643a2f9ab1d (patch)
tree8ece89eabe4f7e6b5e7638778125e4cb3e433a93 /scripts/kconfig
parentf443d2eccf077afd8a839cc7ed66cc4d520c5f05 (diff)
kconfig: make oldconfig is now less chatty
Previously when running "make oldconfig" we saw all the propmt lines from kconfig and noone actully read this. With this patch the user will only see output if there is new symbols. This will be seen as "make oldconfig" runs which does not generate any output. A typical run now looks like this: $ make oldconfig scripts/kconfig/conf -o arch/x86/Kconfig $ If a new symbol is found then we restart the config process like this: $ make oldconfig scripts/kconfig/conf -o arch/x86/Kconfig * * Restart config... * * * General setup * Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y Local version - append to kernel release (LOCALVERSION) [] ... The bahaviour is similar to what we know when running the implicit oldconfig target "make silentoldconfig". "make silentoldconfig" are run as part of the kernel build process if the configuration has changed. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig')
-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 bd2a27e1967a..6cdaa0cc572f 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -590,10 +590,10 @@ int main(int ac, char **av)
590 conf_set_all_new_symbols(def_random); 590 conf_set_all_new_symbols(def_random);
591 break; 591 break;
592 case ask_silent: 592 case ask_silent:
593 case ask_new:
593 if (conf_silent_update()) 594 if (conf_silent_update())
594 exit(1); 595 exit(1);
595 break; 596 break;
596 case ask_new:
597 case ask_all: 597 case ask_all:
598 case set_default: 598 case set_default:
599 if (conf_update()) 599 if (conf_update())