Commit 5eb1f27a authored by Andre Przywara's avatar Andre Przywara Committed by Will Deacon
Browse files

Makefile: support -s switch



"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's avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 56e45ea4
......@@ -3,7 +3,11 @@
#
ifeq ($(strip $(V)),)
E = @echo
ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
E = @echo
else
E = @\#
endif
Q = @
else
E = @\#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment