esp32/Makefile: Assign result of $call to dummy var for older make.

Make version 4.1 and lower does not allow $call as the main expression on a
line, so assign the result of the $call to a dummy variable.

Fixes issue #5426.
This commit is contained in:
Damien George 2020-01-06 23:03:22 +11:00
parent 5ef3b6b2d9
commit 99b8c1a937
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ ESPIDF = $(IDF_PATH)
else
$(info The ESPIDF variable has not been set, please set it to the root of the esp-idf repository.)
$(info See README.md for installation instructions.)
$(call print_supported_git_hash)
dummy := $(call print_supported_git_hash)
$(error ESPIDF not set)
endif
endif
@ -99,7 +99,7 @@ $(info The git hash of ESP IDF does not match the supported version)
$(info The build may complete and the firmware may work but it is not guaranteed)
$(info ESP IDF path: $(ESPIDF))
$(info Current git hash: $(ESPIDF_CURHASH))
$(call print_supported_git_hash)
dummy := $(call print_supported_git_hash)
endif
# pretty format of ESP IDF version, used internally by the IDF