Message ID | 20190201123716.92901-3-andre.przywara@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Various convenience fixes | expand |
diff --git a/Makefile b/Makefile index c4faff66..ec75cd99 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,11 @@ # ifeq ($(strip $(V)),) - E = @echo + ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) + E = @echo + else + E = @\# + endif Q = @ else E = @\#
"make -s" suppresses normal output, just shows warnings and errors. But since we explicitly override the make output with our fancy concise version, we miss out on this feature. Do as the kernel does and explicitly suppress every normal output when -s is given. This helps to spot warnings that scroll out of the terminal window too quickly. Signed-off-by: Andre Przywara <andre.przywara@arm.com> --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)