esp32/Makefile: Fix printing of supported git hash.

This commit is contained in:
Jim Mussared 2019-09-20 14:37:53 +10:00
parent d96391aca3
commit c33a4cc213

View File

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