Jelle Sels | 0375666 | 2021-05-20 10:41:57 +0200 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | cmake_minimum_required(VERSION 3.18 FATAL_ERROR) |
| 8 | set(TS_PLATFORM "arm/fvp/fvp_base_revc-2xaemv8a" CACHE STRING "Target platform location.") |
| 9 | include(../../deployment.cmake REQUIRED) |
| 10 | include(${TS_ROOT}/environments/opteesp/env.cmake) |
| 11 | |
| 12 | project(trusted-services LANGUAGES C ASM) |
| 13 | add_executable(spm-test1) |
| 14 | |
| 15 | set(SP_UUID_CANON "5c9edbc3-7b3a-4367-9f83-7c191ae86a37") |
| 16 | set(SP_NUMBER 1) |
| 17 | include(${TS_ROOT}/components/service/spm_test/spm_test.cmake) |
| 18 | #------------------------------------------------------------------------------- |
| 19 | # Components that are spm-test specific to deployment in the opteesp |
| 20 | # environment. |
| 21 | #------------------------------------------------------------------------------- |
| 22 | add_components(TARGET "spm-test${SP_NUMBER}" |
| 23 | BASE_DIR ${TS_ROOT} |
| 24 | COMPONENTS |
| 25 | "components/common/fdt" |
| 26 | "components/common/trace" |
| 27 | "components/common/utils" |
| 28 | "components/config/loader/sp" |
| 29 | "components/messaging/ffa/libsp" |
| 30 | "environments/opteesp" |
| 31 | ) |
| 32 | |