arch: arm: aarch32: Add missing arch flag for Cortex-R5
This commit adds the GCC `-march` flag for the ARM Cortex-R5 targets. Note that `armv7-r+idiv` must be specified instead of `armv7-r`, because the GCC internally resolves `-mcpu=cortex-r5` to it. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
3cf1a9139e
commit
eeddc7566d
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ set(ARCH_FOR_cortex-m23 armv8-m.base )
|
||||||
set(ARCH_FOR_cortex-m33 armv8-m.main+dsp)
|
set(ARCH_FOR_cortex-m33 armv8-m.main+dsp)
|
||||||
set(ARCH_FOR_cortex-m33+nodsp armv8-m.main )
|
set(ARCH_FOR_cortex-m33+nodsp armv8-m.main )
|
||||||
set(ARCH_FOR_cortex-r4 armv7-r )
|
set(ARCH_FOR_cortex-r4 armv7-r )
|
||||||
|
set(ARCH_FOR_cortex-r5 armv7-r+idiv )
|
||||||
|
|
||||||
if(ARCH_FOR_${GCC_M_CPU})
|
if(ARCH_FOR_${GCC_M_CPU})
|
||||||
set(ARCH_FLAG -march=${ARCH_FOR_${GCC_M_CPU}})
|
set(ARCH_FLAG -march=${ARCH_FOR_${GCC_M_CPU}})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue