From 8e986c6b8c7d1b08bb406ac41bb240f9473deb0f Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 20 May 2017 08:02:39 -0400 Subject: [PATCH] toolchain: require SDK 0.9.1 The 0.9.1 SDK is now required to cover all architectures and to enable tests on all plartforms supported. Signed-off-by: Anas Nashif --- scripts/Makefile.toolchain.zephyr | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.toolchain.zephyr b/scripts/Makefile.toolchain.zephyr index e0e04dfb8b5..db0f59ab725 100644 --- a/scripts/Makefile.toolchain.zephyr +++ b/scripts/Makefile.toolchain.zephyr @@ -12,7 +12,7 @@ # ####################################################################### -REQUIRED_SDK_VER=0.8.2 +REQUIRED_SDK_VER=0.9.1 ifndef ZEPHYR_SDK_INSTALL_DIR @@ -21,8 +21,20 @@ else SDK_VERSION = $(shell cat ${ZEPHYR_SDK_INSTALL_DIR}/sdk_version) SDK_CHECK = $(shell ${ZEPHYR_BASE}/scripts/vercomp $(REQUIRED_SDK_VER) $(SDK_VERSION) || echo $$?) +SDK_MESSAGE=" \ +The SDK version you are using is old, please update your SDK. \ + \ +You need at least SDK version $(REQUIRED_SDK_VER). \ + \ +The new version of the SDK can be download from: \ + \ +https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/$(REQUIRED_SDK_VER)/zephyr-sdk-$(REQUIRED_SDK_VER)-setup.run \ +\ +\ +" + ifeq ($(SDK_CHECK),1) -$(error (The SDK version you are using is old, please update your SDK. You need at least SDK version $(REQUIRED_SDK_VER))) +$(error $(SDK_MESSAGE)) endif endif