From: dp-arm Date: Tue, 2 May 2017 10:14:29 +0000 (+0100) Subject: tools: Use exported quiet flag from top-level Makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9673900625acf97dff8bd218acad09f65f5bc02;p=project%2Fbcm63xx%2Fatf.git 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 --- diff --git a/tools/cert_create/Makefile b/tools/cert_create/Makefile index efd1f25d..eae76dfb 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 ee674b7f..5e2ecc13 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