From 56097952ef6bfd836a0a37b818ffa39c4546df15 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 13 Sep 2016 20:30:05 -0700 Subject: [PATCH] better error message for gcc version mismatch error (toolchain) --- make/tools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/tools.mk b/make/tools.mk index 71438f49d..a12dc50a3 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -278,7 +278,7 @@ else ifeq (,$(findstring _install,$(MAKECMDGOALS))) ifeq ($(GCC_VERSION),) $(error **ERROR** arm-none-eabi-gcc not in the PATH. Run 'make arm_sdk_install' to install automatically in the tools folder of this repo) else ifneq ($(GCC_VERSION), $(GCC_REQUIRED_VERSION)) - $(error **WARNING** your arm-none-eabi-gcc is '$(GCC_VERSION)', but '$(GCC_REQUIRED_VERSION)' is expected. Run 'make arm_sdk_install' to install automatically in the tools folder of this repo) + $(error **ERROR** your arm-none-eabi-gcc is '$(GCC_VERSION)', but '$(GCC_REQUIRED_VERSION)' is expected. Override with 'GCC_REQUIRED_VERSION' in make/local.mk or run 'make arm_sdk_install' to install the right version automatically in the tools folder of this repo) endif # not installed, hope it's in the path... ARM_SDK_PREFIX ?= arm-none-eabi-