ARC: ARCv3: fix toolchain prefix for ARCv3 32bit

Both 32bit and 64bit ARCv3 have same toolchain prefix

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
Eugeniy Paltsev 2022-08-03 23:03:07 +04:00 committed by Stephanos Ioannidis
parent ce283dd576
commit b175752ba8
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ set(CROSS_COMPILE_TARGET_xtensa xtensa-${SOC_TOOLCHAIN_NAME}_zephyr-elf)
# ARC uses the same source tree for both ARCv2 & ARCv3 architectures,
# while toolchain differ significantly and so their cross-compile prefixes
if(CONFIG_ISA_ARCV3 AND CONFIG_64BIT)
if(CONFIG_ISA_ARCV3)
set(CROSS_COMPILE_TARGET_arc arc64-zephyr-elf)
else()
set(CROSS_COMPILE_TARGET_arc arc-zephyr-elf)