cmake: remove xtensa workaround in Zephyr toolchain code.

Remove xtensa specific workaround as this code is now present in Zephyr
SDK cmake code.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit 92a1ca61eb)
This commit is contained in:
Torsten Rasmussen 2021-12-15 21:40:48 +01:00 committed by Stephanos Ioannidis
parent abce92d867
commit 14936e91de
1 changed files with 0 additions and 6 deletions

View File

@ -1,9 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
include(${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/target.cmake)
# Workaround, FIXME: Waiting for new SDK.
if("${ARCH}" STREQUAL "xtensa")
set(SYSROOT_DIR ${TOOLCHAIN_HOME}/xtensa/${SOC_TOOLCHAIN_NAME}/${SYSROOT_TARGET})
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/xtensa/${SOC_TOOLCHAIN_NAME}/${CROSS_COMPILE_TARGET}/bin/${CROSS_COMPILE_TARGET}-)
endif()