summaryrefslogtreecommitdiff
path: root/scripts/cmake/cmsis-dsp.cmake
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2022-05-17 11:16:22 +0100
committerKshitij Sisodia <kshitij.sisodia@arm.com>2022-05-17 11:16:22 +0100
commit8c61c0a3cb8d6b534d1e423211e06b89f45bf223 (patch)
tree24895ed5f20d4cad92fbcd679fb9637637931e18 /scripts/cmake/cmsis-dsp.cmake
parentb76b855448d58b85f53642532375c9b7808ab14d (diff)
downloadml-embedded-evaluation-kit-8c61c0a3cb8d6b534d1e423211e06b89f45bf223.tar.gz
MLECO-2985 Adding Corstone-310 support
Change-Id: Ifa4b11154478355c10cb3e747b9938a74afd242b Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
Diffstat (limited to 'scripts/cmake/cmsis-dsp.cmake')
-rw-r--r--scripts/cmake/cmsis-dsp.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/cmsis-dsp.cmake b/scripts/cmake/cmsis-dsp.cmake
index f2de158..73f6100 100644
--- a/scripts/cmake/cmsis-dsp.cmake
+++ b/scripts/cmake/cmsis-dsp.cmake
@@ -69,7 +69,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif ()
# 5. Add any custom/conditional flags for compilation or linkage
-if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL cortex-m55)
+if ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "cortex-m55" OR "${CMAKE_SYSTEM_ARCH}" STREQUAL "armv8.1-m.main")
target_compile_definitions(${CMSIS_DSP_TARGET} PUBLIC
ARM_MATH_MVEI
ARM_MATH_DSP