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
This commit is contained in:
Angus Gratton
2019-06-24 20:59:32 +10:00
committed by Angus Gratton
parent f4eb3ddfee
commit a60b1428d5
2 changed files with 6 additions and 2 deletions

View File

@@ -91,7 +91,9 @@ COMPONENT_SUBMODULES ?=
COMPILING_COMPONENT_PATH := $(COMPONENT_PATH) COMPILING_COMPONENT_PATH := $(COMPONENT_PATH)
define includeCompBuildMakefile define includeCompBuildMakefile
$(if $(V),$(info including $(1)/Makefile.componentbuild...)) ifeq ("$(V)","1")
$$(info including $(1)/Makefile.componentbuild...)
endif
COMPONENT_PATH := $(1) COMPONENT_PATH := $(1)
include $(1)/Makefile.componentbuild include $(1)/Makefile.componentbuild
endef endef

View File

@@ -502,7 +502,9 @@ $(eval $(call ldgen_create_commands))
# Include any Makefile.projbuild file letting components add # Include any Makefile.projbuild file letting components add
# configuration at the project level # configuration at the project level
define includeProjBuildMakefile define includeProjBuildMakefile
$(if $(V),$$(info including $(1)/Makefile.projbuild...)) ifeq ("$(V)","1")
$$(info including $(1)/Makefile.projbuild...)
endif
COMPONENT_PATH := $(1) COMPONENT_PATH := $(1)
include $(1)/Makefile.projbuild include $(1)/Makefile.projbuild
endef endef