From d4310c0762c5e0867f5e7a856a8a5baa314b4464 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 25 Jul 2019 11:03:30 -0700 Subject: [PATCH] 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 --- cmake/toolchain/issm/generic.cmake | 45 ------------------ cmake/toolchain/issm/target.cmake | 3 -- .../toolchain_3rd_party_x_compilers.rst | 47 ------------------- 3 files changed, 95 deletions(-) delete mode 100644 cmake/toolchain/issm/generic.cmake delete mode 100644 cmake/toolchain/issm/target.cmake diff --git a/cmake/toolchain/issm/generic.cmake b/cmake/toolchain/issm/generic.cmake deleted file mode 100644 index 6dff3225534801..00000000000000 --- a/cmake/toolchain/issm/generic.cmake +++ /dev/null @@ -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? diff --git a/cmake/toolchain/issm/target.cmake b/cmake/toolchain/issm/target.cmake deleted file mode 100644 index b970dc3e7d8b9d..00000000000000 --- a/cmake/toolchain/issm/target.cmake +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -# Intentionally left blank. diff --git a/doc/getting_started/toolchain_3rd_party_x_compilers.rst b/doc/getting_started/toolchain_3rd_party_x_compilers.rst index 7c57f1b61e51cf..44da7fda8b1eb5 100644 --- a/doc/getting_started/toolchain_3rd_party_x_compilers.rst +++ b/doc/getting_started/toolchain_3rd_party_x_compilers.rst @@ -50,51 +50,6 @@ GNU ARM Embedded > echo %GNUARMEMB_TOOLCHAIN_PATH% 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 `: - - - 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 ************ @@ -137,6 +92,4 @@ You can build toolchains from source code using crosstool-NG. /Volumes/CrossToolNGNew/build/output/ .. _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