From a60b1428d5b924f1a0249e363df12faeb5b73cf4 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 24 Jun 2019 20:59:32 +1000 Subject: [PATCH] gnu make: Make V= behaviour consistent with V=0 Previously, V=0 would print some verbose lines but not most of them. This meant that it was impossible to disable all verbose output when BATCH_BUILD=1 Closes https://github.com/espressif/esp-idf/issues/3488 --- make/component_wrapper.mk | 4 +++- make/project.mk | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/make/component_wrapper.mk b/make/component_wrapper.mk index 049a8084b3..278452ef1b 100644 --- a/make/component_wrapper.mk +++ b/make/component_wrapper.mk @@ -91,7 +91,9 @@ COMPONENT_SUBMODULES ?= COMPILING_COMPONENT_PATH := $(COMPONENT_PATH) define includeCompBuildMakefile -$(if $(V),$(info including $(1)/Makefile.componentbuild...)) +ifeq ("$(V)","1") +$$(info including $(1)/Makefile.componentbuild...) +endif COMPONENT_PATH := $(1) include $(1)/Makefile.componentbuild endef diff --git a/make/project.mk b/make/project.mk index cbd3c967a6..32d8862e4f 100644 --- a/make/project.mk +++ b/make/project.mk @@ -502,7 +502,9 @@ $(eval $(call ldgen_create_commands)) # Include any Makefile.projbuild file letting components add # configuration at the project level define includeProjBuildMakefile -$(if $(V),$$(info including $(1)/Makefile.projbuild...)) +ifeq ("$(V)","1") +$$(info including $(1)/Makefile.projbuild...) +endif COMPONENT_PATH := $(1) include $(1)/Makefile.projbuild endef -- 2.40.0