Anton Komlev | 84283b0 | 2023-08-16 10:57:56 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2023, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | # This is default configuration file for building TF-M SPE image for S+NS tests. |
| 9 | # This file to be included in to TF-M build via TFM_EXTRA_CONFIG_PATH command option. |
| 10 | # An alternative file can be pased for S test via CONFIG_TFM_REG_TESTS argument. |
| 11 | #------------------------------------------------------------------------------- |
| 12 | |
| 13 | set(TEST_S ON CACHE BOOL "Whether to build S regression tests") |
| 14 | set(TFM_S_REG_TEST ON CACHE BOOL "Enable S regression test") |
| 15 | set(NS OFF CACHE BOOL "Enalbe NS side build") |
| 16 | |
| 17 | set(TEST_S_ATTESTATION ON CACHE BOOL "Whether to build S regression Attestation tests") |
| 18 | set(TEST_S_CRYPTO ON CACHE BOOL "Whether to build S regression Crypto tests") |
| 19 | set(TEST_S_ITS ON CACHE BOOL "Whether to build S regression ITS tests") |
| 20 | set(TEST_S_PS ON CACHE BOOL "Whether to build S regression PS tests") |
| 21 | set(TEST_S_PLATFORM ON CACHE BOOL "Whether to build S regression Platform tests") |
| 22 | set(TEST_S_SFN_BACKEND ON CACHE BOOL "Whether to build S regression SFN tests") |
| 23 | |
| 24 | set(TEST_S_FWU OFF CACHE BOOL "Whether to build S regression FWU tests") |
| 25 | set(TEST_S_IPC OFF CACHE BOOL "Whether to build S regression IPC tests") |
| 26 | set(TEST_S_FPU OFF CACHE BOOL "Whether to build S regression FPU tests") |
| 27 | |
| 28 | #------------------------------------------------------------------------------- |
| 29 | # Use local repositories and avoid fetching them on evey clean build. |
| 30 | # A tempoarl settings to be remove later. |
| 31 | #------------------------------------------------------------------------------- |
| 32 | if(EXISTS ${CMAKE_SOURCE_DIR}/localrepos.cmake) |
| 33 | include(${CMAKE_SOURCE_DIR}/localrepos.cmake) |
| 34 | endif() |