From fabe038395cf46b6b8ddbefb32616aeab126cedd Mon Sep 17 00:00:00 2001 From: Evgeniy Paltsev Date: Wed, 23 Mar 2022 13:45:44 +0400 Subject: [PATCH] ARC: hs6x: gcc-m-cpu: update mcpu to be aligned with new toolchain New ARCv3 GNU toolchain uses hs6x mcpu value for hs6x CPUs, the older one allows to use any mcpu value. Update old 'arc64' mcpu to 'hs6x' to be aligned with new toolchain Signed-off-by: Eugeniy Paltsev Signed-off-by: Evgeniy Paltsev --- cmake/gcc-m-cpu.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/gcc-m-cpu.cmake b/cmake/gcc-m-cpu.cmake index 4dd27f6c54c..3d67acaae06 100644 --- a/cmake/gcc-m-cpu.cmake +++ b/cmake/gcc-m-cpu.cmake @@ -65,7 +65,7 @@ elseif("${ARCH}" STREQUAL "arc") elseif(CONFIG_CPU_HS3X) set(GCC_M_CPU archs) elseif(CONFIG_CPU_HS6X) - set(GCC_M_CPU arc64) + set(GCC_M_CPU hs6x) elseif(CONFIG_CPU_EM4) set(GCC_M_CPU arcem) elseif(CONFIG_CPU_EM6)