cmake: add the gcc -mcpu parameter value for the Cortex-A9 CPU
Add the -mcpu=cortex-a9 option as part of the basic aarch32 Cortex-A CPU support. Signed-off-by: Immo Birnbaum <Immo.Birnbaum@weidmueller.com>
This commit is contained in:
parent
c6141c49c1
commit
a69cd66b6e
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ if("${ARCH}" STREQUAL "arm")
|
|||
set(GCC_M_CPU cortex-r5)
|
||||
elseif(CONFIG_CPU_CORTEX_R7)
|
||||
set(GCC_M_CPU cortex-r7)
|
||||
elseif(CONFIG_CPU_CORTEX_A9)
|
||||
set(GCC_M_CPU cortex-a9)
|
||||
else()
|
||||
message(FATAL_ERROR "Expected CONFIG_CPU_CORTEX_x to be defined")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue