Address build error when path contains whitespace #3083
This commit is contained in:
commit
43588c1646
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ ESP32_TOOLCHAIN_DL:=$(THIS_DIR)/cache/toolchain-esp32-$(PLATFORM)-$(TOOLCHAIN_VE
|
|||
all: | $(ESP32_GCC)
|
||||
%: | $(ESP32_GCC)
|
||||
@echo Setting IDF_PATH and re-invoking...
|
||||
@env IDF_PATH=$(IDF_PATH) PATH=$(PATH):$(ESP32_BIN) $(MAKE) -f $(THIS_MK_FILE) $@
|
||||
@env IDF_PATH=$(IDF_PATH) PATH="$(PATH):$(ESP32_BIN)" $(MAKE) -f $(THIS_MK_FILE) $@
|
||||
@if test "$@" = "clean"; then rm -rf $(THIS_DIR)/tools/toolchains/esp32-*; fi
|
||||
|
||||
install_toolchain: $(ESP32_GCC)
|
||||
|
|
Loading…
Reference in New Issue