diff options
author | Damien George <damien.p.george@gmail.com> | 2020-01-06 23:03:22 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-01-06 23:03:22 +1100 |
commit | 99b8c1a93731771bd7d8801a8ea939922f3d2991 (patch) | |
tree | ae5e101b19384e1d0c79b98131b1319848a5c5fe | |
parent | 5ef3b6b2d9aa60febe545d6f12a5d1b7300739ce (diff) |
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.
-rw-r--r-- | ports/esp32/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile index ecaa3e62a..a9002b651 100644 --- a/ports/esp32/Makefile +++ b/ports/esp32/Makefile @@ -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 |