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