aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-16 03:48:26 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-22 10:21:41 -0400
commit9a9ddcf478319bff313837ca235c557d16133b3d (patch)
tree868f6f3f3a8163b6442fcb984ecde5d4cbcd7050 /scripts
parent98a4afbfafd226636cd6bb6a1208b3693daff2b1 (diff)
kconfig: suppress "configuration written to .config" for syncconfig
The top-level Makefile invokes "make syncconfig" when necessary. Then, Kconfig displays the following message when .config is updated. # # configuration written to .config # It is distracting because "make syncconfig" happens during the build stage, and does nothing important in most cases. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/conf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index b35cc9303979..7b2b37260669 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -508,6 +508,11 @@ int main(int ac, char **av)
508 input_mode = (enum input_mode)opt; 508 input_mode = (enum input_mode)opt;
509 switch (opt) { 509 switch (opt) {
510 case syncconfig: 510 case syncconfig:
511 /*
512 * syncconfig is invoked during the build stage.
513 * Suppress distracting "configuration written to ..."
514 */
515 conf_set_message_callback(NULL);
511 sync_kconfig = 1; 516 sync_kconfig = 1;
512 break; 517 break;
513 case defconfig: 518 case defconfig: