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:
parent
69edaa5c74
commit
8e986c6b8c
1 changed files with 14 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
REQUIRED_SDK_VER=0.8.2
|
REQUIRED_SDK_VER=0.9.1
|
||||||
|
|
||||||
ifndef ZEPHYR_SDK_INSTALL_DIR
|
ifndef ZEPHYR_SDK_INSTALL_DIR
|
||||||
|
|
||||||
|
@ -21,8 +21,20 @@ else
|
||||||
SDK_VERSION = $(shell cat ${ZEPHYR_SDK_INSTALL_DIR}/sdk_version)
|
SDK_VERSION = $(shell cat ${ZEPHYR_SDK_INSTALL_DIR}/sdk_version)
|
||||||
SDK_CHECK = $(shell ${ZEPHYR_BASE}/scripts/vercomp $(REQUIRED_SDK_VER) $(SDK_VERSION) || echo $$?)
|
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)
|
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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue