kconfig: suppress "configuration written to .config" for syncconfig
[carl9170fw.git] / config / conf.c
index 2f968e25b3c0c8bf40972ccd324815c6cc5d4391..c19af7d7d99d7bc8b3ebf717dd5a13ac8f66a9f8 100644 (file)
@@ -494,6 +494,14 @@ int main(int ac, char **av)
                }
                input_mode = (enum input_mode)opt;
                switch (opt) {
+               case syncconfig:
+                       /*
+                        * syncconfig is invoked during the build stage.
+                        * Suppress distracting "configuration written to ..."
+                        */
+                       conf_set_message_callback(NULL);
+                        sync_kconfig = 1;
+                       break
                case defconfig:
                case savedefconfig:
                        defconfig_file = optarg;