Automatically pick up esp32 toolchain on reinvoke.

The NodeMCU toolchain is appended, so overriding toolchain in path is still
easy to do.
This commit is contained in:
Johny Mattsson 2016-11-12 11:37:48 +11:00
parent 710baa08e1
commit e160eaf938
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ IDF_PATH=$(THIS_DIR)/sdk/esp32-esp-idf
all:
%:
@echo Setting IDF_PATH and re-invoking...
@env IDF_PATH=$(IDF_PATH) $(MAKE) -f $(THIS_MK_FILE) $@
@env IDF_PATH=$(IDF_PATH) PATH=$(PATH):$(THIS_DIR)/tools/toolchains/esp32/bin/ $(MAKE) -f $(THIS_MK_FILE) $@
else