summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-09-20 14:37:53 +1000
committerJim Mussared <jim.mussared@gmail.com>2019-09-20 14:37:53 +1000
commitc33a4cc21363b11f70c673fa3547aad6f9c1a705 (patch)
tree97740f2f4ca1574eaac09684f750a96b01c18d2c
parentd96391aca34eb4d516945b34f0bbebf807c41299 (diff)
esp32/Makefile: Fix printing of supported git hash.
-rw-r--r--ports/esp32/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile
index 85eebb3f5..919a047eb 100644
--- a/ports/esp32/Makefile
+++ b/ports/esp32/Makefile
@@ -65,8 +65,8 @@ 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)
$(error ESPIDF not set)
-print_supported_git_hash
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 ESP IDF path: $(ESPIDF))
$(info Current git hash: $(ESPIDF_CURHASH))
-print_supported_git_hash
+$(call print_supported_git_hash)
endif
# pretty format of ESP IDF version, used internally by the IDF