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:
parent
710baa08e1
commit
e160eaf938
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue