aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-19 15:44:30 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-19 15:54:27 +0100
commitb5a0f4bd1910b49b3d11b9bd712f9dc05f894d91 (patch)
treeefbe69f037a970609edce364da24a07837e9bf09 /Makefile
parent0595abceba85bee8d6c27e6e122722f816610df7 (diff)
downloadtrusted-firmware-a-b5a0f4bd1910b49b3d11b9bd712f9dc05f894d91.tar.gz
Makefile: Fix verbose builds on Windows
Commit <ee1ba6d4ddf1> ("Makefile: Support totally quiet output with -s") broke verbose (V=1) builds on Windows. This patch fixes it by adding helpers to silence echo prints in a OS-dependent way. Change-Id: I24669150457516e9fb34fa32fa103398efe8082d Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8cba50cc16..be543facb6 100644
--- a/Makefile
+++ b/Makefile
@@ -78,12 +78,12 @@ ifeq (${V},0)
CHECKCODE_ARGS += --no-summary --terse
else
Q:=
- ECHO:=@\#
+ ECHO:=$(ECHO_QUIET)
endif
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
Q:=@
- ECHO:=@\#
+ ECHO:=$(ECHO_QUIET)
endif
export Q ECHO