Satish Kumar | 427923c | 2021-10-05 07:21:53 +0100 | [diff] [blame] | 1 | # |
Maulik Patel | 6f50cd7 | 2024-11-13 10:41:33 +0000 | [diff] [blame] | 2 | # Copyright (c) 2021-2024 Arm Limited. All rights reserved. |
Satish Kumar | 427923c | 2021-10-05 07:21:53 +0100 | [diff] [blame] | 3 | # SPDX-License-Identifier: BSD-3-Clause |
| 4 | # |
| 5 | if (NOT DEFINED TFM_PLATFORM) |
| 6 | Message(FATAL_ERROR "TFM_PLATFORM not defined.") |
| 7 | endif() |
| 8 | |
| 9 | get_filename_component(TFM_PLATFORM_PATH ${CMAKE_CURRENT_SOURCE_DIR}/target/trusted-firmware-m/platform/${TFM_PLATFORM} ABSOLUTE) |
| 10 | |
| 11 | if (NOT EXISTS ${TFM_PLATFORM_PATH}) |
| 12 | Message(FATAL_ERROR "Platform ${TFM_PLATFORM} not supported.") |
| 13 | endif() |
| 14 | |
| 15 | include(${TFM_PLATFORM_PATH}/config.cmake) |
| 16 | |
| 17 | set(PSA_ADAC_QUIET OFF CACHE BOOL "The image will be built to run on QEMU") |
| 18 | set(PSA_ADAC_DEBUG ON CACHE BOOL "Enable debug") |
Maulik Patel | 6f50cd7 | 2024-11-13 10:41:33 +0000 | [diff] [blame] | 19 | set(PSA_ADAC_AS_TFM_RUNTIME_SERVICE OFF CACHE BOOL "Integrate ADAC as TF-M runtime service") |