toolchain: remove issm support
This toolchain is no londer supported or needed. It was used to build configurations that are now being removed. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
da6b49b432
commit
d4310c0762
3 changed files with 0 additions and 95 deletions
|
@ -1,45 +0,0 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
#
|
|
||||||
# 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
|
|
||||||
#
|
|
||||||
|
|
||||||
set_ifndef(ISSM_INSTALLATION_PATH "$ENV{ISSM_INSTALLATION_PATH}")
|
|
||||||
set( ISSM_INSTALLATION_PATH ${ISSM_INSTALLATION_PATH} CACHE PATH "")
|
|
||||||
assert( ISSM_INSTALLATION_PATH "ISSM_INSTALLATION_PATH is not set")
|
|
||||||
|
|
||||||
set(COMPILER gcc)
|
|
||||||
set(LINKER ld)
|
|
||||||
|
|
||||||
set(TOOLCHAIN_VENDOR intel)
|
|
||||||
|
|
||||||
# IA_VERSION and ARC_VERSION can be used to adjust the toolchain paths
|
|
||||||
# inside the ISSM installation to use an specific version, e.g.:
|
|
||||||
set_ifndef(IA_VERSION gcc-ia/5.2.1)
|
|
||||||
set_ifndef(ARC_VERSION gcc-arc/4.8.5)
|
|
||||||
|
|
||||||
if("${ARCH}" STREQUAL "x86")
|
|
||||||
set(CROSS_COMPILE_TARGET i586-${TOOLCHAIN_VENDOR}-elfiamcu)
|
|
||||||
set(specific_version ${IA_VERSION})
|
|
||||||
elseif("${ARCH}" STREQUAL "arc")
|
|
||||||
set(CROSS_COMPILE_TARGET arc-elf32)
|
|
||||||
set(specific_version ${ARC_VERSION})
|
|
||||||
else()
|
|
||||||
message(FATAL_ERROR
|
|
||||||
"issm was selected as the toolchain and ${ARCH} as the ARCH, \
|
|
||||||
but issm only supports x86 and arc"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(SYSROOT_TARGET ${CROSS_COMPILE_TARGET})
|
|
||||||
|
|
||||||
set(TOOLCHAIN_HOME ${ISSM_INSTALLATION_PATH}/tools/compiler/${specific_version})
|
|
||||||
|
|
||||||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-)
|
|
||||||
set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
|
|
||||||
|
|
||||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
|
||||||
|
|
||||||
# TODO: What was _version used for?
|
|
|
@ -1,3 +0,0 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
# Intentionally left blank.
|
|
|
@ -50,51 +50,6 @@ GNU ARM Embedded
|
||||||
> echo %GNUARMEMB_TOOLCHAIN_PATH%
|
> echo %GNUARMEMB_TOOLCHAIN_PATH%
|
||||||
C:\gnu_arm_embedded
|
C:\gnu_arm_embedded
|
||||||
|
|
||||||
Intel ISSM
|
|
||||||
**********
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
|
|
||||||
The ISSM toolset only supports development for Intel |reg| Quark |trade|
|
|
||||||
Microcontrollers, for example, the Arduino 101 board. (Check out the
|
|
||||||
"Zephyr Development Environment
|
|
||||||
Setup" in this `Getting Started on Arduino 101 with ISSM`_ document.)
|
|
||||||
Additional setup is required to use the ISSM GUI for development.
|
|
||||||
|
|
||||||
#. Install the ISSM toolchain by downloading it from the Intel Developer Zone's
|
|
||||||
`ISSM Toolchain`_ downloads page, then extracting the archive somewhere on
|
|
||||||
your system.
|
|
||||||
|
|
||||||
.. warning::
|
|
||||||
|
|
||||||
Like the Zephyr repository, do not install the toolchain in a directory
|
|
||||||
with spaces anywhere in the path.
|
|
||||||
|
|
||||||
#. :ref:`Set these environment variables <env_vars>`:
|
|
||||||
|
|
||||||
- Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``issm``.
|
|
||||||
- Set :envvar:`ISSM_INSTALLATION_PATH` to the directory containing the
|
|
||||||
extracted files.
|
|
||||||
|
|
||||||
#. To check that you have set these variables correctly in your current
|
|
||||||
environment, follow these example shell sessions (the
|
|
||||||
:envvar:`ISSM_INSTALLATION_PATH` values may be different on your system):
|
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
# Linux
|
|
||||||
$ echo $ZEPHYR_TOOLCHAIN_VARIANT
|
|
||||||
issm
|
|
||||||
$ echo $ISSM_INSTALLATION_PATH
|
|
||||||
/home/you/Downloads/issm0-toolchain-windows-2017-02-07
|
|
||||||
|
|
||||||
# Windows
|
|
||||||
> echo %ZEPHYR_TOOLCHAIN_VARIANT%
|
|
||||||
issm
|
|
||||||
> echo %ISSM_INSTALLATION_PATH%
|
|
||||||
c:\issm0-toolchain-windows-2017-01-25
|
|
||||||
|
|
||||||
.. _xtools_x_compilers:
|
|
||||||
|
|
||||||
Crosstool-NG
|
Crosstool-NG
|
||||||
************
|
************
|
||||||
|
@ -137,6 +92,4 @@ You can build toolchains from source code using crosstool-NG.
|
||||||
/Volumes/CrossToolNGNew/build/output/
|
/Volumes/CrossToolNGNew/build/output/
|
||||||
|
|
||||||
.. _GNU ARM Embedded: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm
|
.. _GNU ARM Embedded: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm
|
||||||
.. _ISSM Toolchain: https://software.intel.com/en-us/articles/issm-toolchain-only-download
|
|
||||||
.. _Getting Started on Arduino 101 with ISSM: https://software.intel.com/en-us/articles/getting-started-arduino-101genuino-101-with-intel-system-studio-for-microcontrollers
|
|
||||||
.. _crosstool-ng site: http://crosstool-ng.org
|
.. _crosstool-ng site: http://crosstool-ng.org
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue