From a9673900625acf97dff8bd218acad09f65f5bc02 Mon Sep 17 00:00:00 2001 From: dp-arm Date: Tue, 2 May 2017 11:14:29 +0100 Subject: [PATCH] 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 --- tools/cert_create/Makefile | 6 +++--- tools/fiptool/Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile index efd1f25d5..eae76dfb1 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 ee674b7f9..5e2ecc13f 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