ARC: gcc-m-cpu: check for exact HS CPU time instead of whole family
As of today we check against CPU_ARCHS config option which may be related to different HS CPUs (i.e. ARCv2 HS, ARCv3 HS, etc...). Let's check against exact HS CPU type (CPU_HS3X) as we do EM processors. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
eaa2dba1a2
commit
8ed87be4ff
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ elseif("${ARCH}" STREQUAL "arc")
|
|||
set(GCC_M_CPU em4_dmips)
|
||||
elseif(CONFIG_CPU_EM4_FPUDA)
|
||||
set(GCC_M_CPU em4_fpuda)
|
||||
elseif(CONFIG_CPU_ARCHS)
|
||||
elseif(CONFIG_CPU_HS3X)
|
||||
set(GCC_M_CPU hs)
|
||||
elseif(CONFIG_CPU_EM4)
|
||||
set(GCC_M_CPU arcem)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue