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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-05-20 08:02:39 -04:00 committed by Anas Nashif
commit 8e986c6b8c

View file

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