aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordp-arm <dimitris.papastamos@arm.com>2017-05-02 11:14:29 +0100
committerDimitris Papastamos <dimitris.papastamos@arm.com>2017-06-12 09:54:08 +0100
commita9673900625acf97dff8bd218acad09f65f5bc02 (patch)
tree734adf42511e777d07ea759efd07ed0f96e63042 /tools
parentc396b7368a04e561e1f684797f541bfce8037241 (diff)
downloadtrusted-firmware-a-a9673900625acf97dff8bd218acad09f65f5bc02.tar.gz
tools: Use exported quiet flag from top-level Makefile
When V is set from the command line, the value is passed to the tools' Makefiles as well. Change-Id: I91a1f66de5c1ae6f36b6c9f0a9bd550d4a30f092 Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/cert_create/Makefile6
-rw-r--r--tools/fiptool/Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile
index efd1f25d58..eae76dfb17 100644
--- a/tools/cert_create/Makefile
+++ b/tools/cert_create/Makefile
@@ -6,7 +6,7 @@
PROJECT := cert_create
PLAT := none
-V := 0
+V ?= 0
DEBUG := 0
BINARY := ${PROJECT}${BIN_EXT}
OPENSSL_DIR := /usr
@@ -50,9 +50,9 @@ else
CFLAGS += -O2 -DLOG_LEVEL=20
endif
ifeq (${V},0)
- Q := @
+ Q := @
else
- Q :=
+ Q :=
endif
$(eval $(call add_define,USE_TBBR_DEFS))
diff --git a/tools/fiptool/Makefile b/tools/fiptool/Makefile
index ee674b7f9f..5e2ecc13f7 100644
--- a/tools/fiptool/Makefile
+++ b/tools/fiptool/Makefile
@@ -10,7 +10,7 @@ include ${MAKE_HELPERS_DIRECTORY}build_env.mk
PROJECT := fiptool${BIN_EXT}
OBJECTS := fiptool.o tbbr_config.o
-V := 0
+V ?= 0
override CPPFLAGS += -D_GNU_SOURCE -D_XOPEN_SOURCE=700
CFLAGS := -Wall -Werror -pedantic -std=c99