Commit e160eaf9 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Automatically pick up esp32 toolchain on reinvoke.

The NodeMCU toolchain is appended, so overriding toolchain in path is still
easy to do.
parent 710baa08
...@@ -8,7 +8,7 @@ IDF_PATH=$(THIS_DIR)/sdk/esp32-esp-idf ...@@ -8,7 +8,7 @@ IDF_PATH=$(THIS_DIR)/sdk/esp32-esp-idf
all: all:
%: %:
@echo Setting IDF_PATH and re-invoking... @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 else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment