better error message for gcc version mismatch error (toolchain)

This commit is contained in:
nathan 2016-09-13 20:30:05 -07:00
parent 764c25a2d1
commit 56097952ef
1 changed files with 1 additions and 1 deletions

View File

@ -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-