From 16588334708622842576cd1397209d4846bd2151 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Tue, 25 Sep 2018 12:19:01 +0800 Subject: [PATCH] build system: Fix checking the toolchain version on Windows --- make/project.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/project.mk b/make/project.mk index 71d86d316..7b9bd9b1d 100644 --- a/make/project.mk +++ b/make/project.mk @@ -604,7 +604,7 @@ $(info Toolchain path: $(TOOLCHAIN_PATH)) endif 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 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.)