diff options
author | Kevin Peng <kevin.peng@arm.com> | 2020-05-21 15:51:36 +0800 |
---|---|---|
committer | Kevin Peng <kevin.peng@arm.com> | 2020-06-24 10:40:22 +0800 |
commit | 2131fdb1b7e450a87b86926d22fa8d6b962617ac (patch) | |
tree | ab0faefb6e7d95e3dafc6bf4153726da9b9d7174 /platform/ext/fvp_sse300_mps2.cmake | |
parent | 1fb8070ff51b88d4c79e438e6b0979d5239116b2 (diff) | |
download | trusted-firmware-m-2131fdb1b7e450a87b86926d22fa8d6b962617ac.tar.gz |
Build: Replace CMSIS_5_DIR with deeper CMSIS_DIR
This patch replaces the CMake variable CMSIS_5_DIR with the deeper
CMSIS_5_DIR/CMSIS.
This is the preparation for the RTX references from CMSIS_5 repo
to tf-m-tests repo. Because setting 'CMSIS_5_DIR' to 'tf-m-tests'
could be confusing.
With this change, the 'CMSIS_DIR' would be set to 'tf-m-tests/CMSIS'
later.
Change-Id: I3bf19d15592a24cb718b220d8efc49f42b40f56d
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Diffstat (limited to 'platform/ext/fvp_sse300_mps2.cmake')
-rw-r--r-- | platform/ext/fvp_sse300_mps2.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/ext/fvp_sse300_mps2.cmake b/platform/ext/fvp_sse300_mps2.cmake index 907f946093..83d87ff09d 100644 --- a/platform/ext/fvp_sse300_mps2.cmake +++ b/platform/ext/fvp_sse300_mps2.cmake @@ -20,9 +20,9 @@ if(COMPILER STREQUAL "ARMCLANG") set (S_SCATTER_FILE_NAME "${PLATFORM_DIR}/common/armclang/tfm_common_s.sct") set (BL2_SCATTER_FILE_NAME "${FVP_SSE300_DIR}/device/source/armclang/fvp_sse300_mps2_bl2.sct") set (NS_SCATTER_FILE_NAME "${FVP_SSE300_DIR}/device/source/armclang/fvp_sse300_mps2_ns.sct") - if (DEFINED CMSIS_5_DIR) - # not all project defines CMSIS_5_DIR, only the ones that use it. - set (RTX_LIB_PATH "${CMSIS_5_DIR}/CMSIS/RTOS2/RTX/Library/ARM/RTX_V8MMN.lib") + if (DEFINED CMSIS_DIR) + # not all project defines CMSIS_DIR, only the ones that use it. + set (RTX_LIB_PATH "${CMSIS_DIR}/RTOS2/RTX/Library/ARM/RTX_V8MMN.lib") endif() elseif(COMPILER STREQUAL "GNUARM") message(FATAL_ERROR "No GNUARM support yet for target '${TARGET_PLATFORM}'.") |