[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200820063526.GA3278096@gmail.com>
Date: Thu, 20 Aug 2020 08:35:26 +0200
From: Ingo Molnar <mingo@...nel.org>
To: linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>
Subject: [PATCH] kbuild: Run syncconfig with -s
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 <mingo@...nel.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.
Powered by blists - more mailing lists