build: Improve usage of the ISSM toolchain
With this fix now we can use the ISSM standlone toolchain [1] through ZEPHYR_GCC_VARIANT=issm and ISSM_INSTALLATION_PATH=/path/to/toolchain variables only, without the need of setting IA_VERSION and ARC_VERSION always. These are always the same for a given toolchain release. This is also a way for us to document the currently supported (and tested) toolchain version. Tested on Linux only. [1] https://software.intel.com/en-us/articles/issm-toolchain-only-download Change-Id: I6fba8ea9564b2080bd73b627bc7150863401f18d Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
This commit is contained in:
parent
1c0bcc8cc5
commit
288f6cc889
1 changed files with 8 additions and 4 deletions
|
@ -1,13 +1,17 @@
|
||||||
|
#
|
||||||
|
# The ISSM standalone toolchain provides both the x86 IAMCU and elf32 ARC
|
||||||
|
# toolchains. Currently supported version is '2016-05-12':
|
||||||
|
# https://software.intel.com/en-us/articles/issm-toolchain-only-download
|
||||||
|
#
|
||||||
|
|
||||||
ifndef ISSM_INSTALLATION_PATH
|
ifndef ISSM_INSTALLATION_PATH
|
||||||
$(error ISSM_INSTALLATION_PATH is not set)
|
$(error ISSM_INSTALLATION_PATH is not set)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# IA_VERSION and ARC_VERSION can be used to adjust the toolchain
|
# IA_VERSION and ARC_VERSION can be used to adjust the toolchain
|
||||||
# paths inside the ISSM installation to use an specific version, e.g.:
|
# paths inside the ISSM installation to use an specific version, e.g.:
|
||||||
# IA_VERSION ?= gcc-ia/5.2.1
|
IA_VERSION ?= gcc-ia/5.2.1
|
||||||
# ARC_VERSION ?= gcc-arc/4.8.5
|
ARC_VERSION ?= gcc-arc/4.8.5
|
||||||
IA_VERSION ?= .
|
|
||||||
ARC_VERSION ?= .
|
|
||||||
ISSM_TOOLCHAIN_GCC_IA_ROOT ?= $(ISSM_INSTALLATION_PATH)/tools/compiler/$(IA_VERSION)
|
ISSM_TOOLCHAIN_GCC_IA_ROOT ?= $(ISSM_INSTALLATION_PATH)/tools/compiler/$(IA_VERSION)
|
||||||
ISSM_TOOLCHAIN_GCC_ARC_ROOT ?= $(ISSM_INSTALLATION_PATH)/tools/compiler/$(ARC_VERSION)
|
ISSM_TOOLCHAIN_GCC_ARC_ROOT ?= $(ISSM_INSTALLATION_PATH)/tools/compiler/$(ARC_VERSION)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue