build system: Fix checking the toolchain version on Windows

This commit is contained in:
Anton Maklakov 2018-09-25 12:19:01 +08:00
parent 607d899503
commit 1658833470

View file

@ -604,7 +604,7 @@ $(info Toolchain path: $(TOOLCHAIN_PATH))
endif endif
ifdef TOOLCHAIN_COMMIT_DESC ifdef TOOLCHAIN_COMMIT_DESC
ifneq ($(TOOLCHAIN_COMMIT_DESC), $(SUPPORTED_TOOLCHAIN_COMMIT_DESC)) ifeq (,$(findstring $(SUPPORTED_TOOLCHAIN_COMMIT_DESC),$(TOOLCHAIN_COMMIT_DESC)))
$(info WARNING: Toolchain version is not supported: $(TOOLCHAIN_COMMIT_DESC)) $(info WARNING: Toolchain version is not supported: $(TOOLCHAIN_COMMIT_DESC))
$(info Expected to see version: $(SUPPORTED_TOOLCHAIN_COMMIT_DESC)) $(info Expected to see version: $(SUPPORTED_TOOLCHAIN_COMMIT_DESC))
$(info Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.) $(info Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.)