Gyorgy Szing | 2b7d662 | 2022-02-08 17:51:50 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
Gyorgy Szing | 2b7d662 | 2022-02-08 17:51:50 +0000 | [diff] [blame] | 8 | set(CMAKE_TOOLCHAIN_FILE "@TS_EXTERNAL_LIB_TOOLCHAIN_FILE@" CACHE STRING "") |
| 9 | |
| 10 | set(TOOLCHAIN INHERIT CACHE STRING "") |
| 11 | set(PSA_INCLUDE_PATHS "@PSA_ARCH_TESTS_EXTERNAL_INCLUDE_PATHS@" CACHE STRING "") |
| 12 | set(SUITE "@TS_ARCH_TEST_SUITE@" CACHE STRING "") |
| 13 | set(ARCH_TEST_EXTERNAL_DEFS "@PSA_ARCH_TEST_EXTERNAL_DEFS@" CACHE STRING "") |
| 14 | set(CMAKE_VERBOSE_MAKEFILE OFF CACHE BOOL "") |
| 15 | set(TARGET "tgt_dev_apis_linux" CACHE STRING "") |
Gabor Toth | 350452a | 2024-06-19 12:35:08 +0200 | [diff] [blame] | 16 | set(BRANCH_PROTECTION @BRANCH_PROTECTION@ CACHE STRING "") |
Gyorgy Szing | 2b7d662 | 2022-02-08 17:51:50 +0000 | [diff] [blame] | 17 | |
| 18 | # Pass comand line paramter passed to the TS deployment configuration time over to psa-acs build. |
| 19 | if(NOT "@PSA_TARGET_QCBOR@" STREQUAL "") |
| 20 | set(PSA_TARGET_QCBOR "@PSA_TARGET_QCBOR@" CACHE PATH "QCBOR source location for psa-acs.") |
| 21 | endif() |
| 22 | |
| 23 | # Allow setting the QCBOR source-code location for psa-acs in the environment |
| 24 | # Get the value during psa-acs build from the environment if present. |
| 25 | if (DEFINED ENV{PSA_TARGET_QCBOR}) |
| 26 | set(PSA_TARGET_QCBOR $ENV{PSA_TARGET_QCBOR} CACHE PATH "QCBOR source location for psa-acs.") |
| 27 | endif() |