Skip to content

Commit cd9140e

Browse files
committed
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 <[email protected]> Cc: Roman Zippel <[email protected]>
1 parent f443d2e commit cd9140e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kconfig/conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,10 @@ int main(int ac, char **av)
590590
conf_set_all_new_symbols(def_random);
591591
break;
592592
case ask_silent:
593+
case ask_new:
593594
if (conf_silent_update())
594595
exit(1);
595596
break;
596-
case ask_new:
597597
case ask_all:
598598
case set_default:
599599
if (conf_update())

0 commit comments

Comments
 (0)