On every kernel build that runs --syncconfig, there's an output of the following line:
scripts/kconfig/conf --syncconfig Kconfig This is the only non-platform build message the kbuild system emits that isn't prefixed by at least a space, or is a build warning. Run it under -s - if there's any problem it will emit messages anyway. With this change the following simple grep filter will show all build warnings and errors of a kernel build: make | grep -v '^ ' Signed-off-by: Ingo Molnar <mi...@kernel.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9cac6fde3479..2057c92a6205 100644 --- a/Makefile +++ b/Makefile @@ -709,7 +709,7 @@ $(KCONFIG_CONFIG): # The syncconfig should be executed only once to make all the targets. # (Note: use the grouped target '&:' when we bump to GNU Make 4.3) %/config/auto.conf %/config/auto.conf.cmd %/generated/autoconf.h: $(KCONFIG_CONFIG) - $(Q)$(MAKE) -f $(srctree)/Makefile syncconfig + $(Q)$(MAKE) -sf $(srctree)/Makefile syncconfig else # !may-sync-config # External modules and some install targets need include/generated/autoconf.h # and include/config/auto.conf but do not care if they are up-to-date.