diff options
author | Chris Brand <chris.brand@cypress.com> | 2022-06-23 12:05:33 -0700 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2022-07-02 04:31:16 +0200 |
commit | cae2026dde977e06a0f40c08949760b688a16cbe (patch) | |
tree | 1767998a56ffe9b3b3f4cc4bde664fbadca40f84 /cmake | |
parent | 182fb40943593b1040dadfabc475bc8fd0dd907a (diff) | |
download | trusted-firmware-m-cae2026dde977e06a0f40c08949760b688a16cbe.tar.gz |
Build: Introduce TFM_CONFIG_USE_TRUSTZONE
Both CMake variable and C define.
Default to ON, set to OFF in appropriate platform configs.
Used to control inclusion of veneers, etc.
Change-Id: Ic1abb17fc6c5b8ac23b5dff09b52aef4946b6f94
Signed-off-by: Chris Brand <chris.brand@cypress.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/install.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake index cd5e77c05b..6bbf6ac61e 100644 --- a/cmake/install.cmake +++ b/cmake/install.cmake @@ -1,6 +1,7 @@ #------------------------------------------------------------------------------- # Copyright (c) 2020-2022, Arm Limited. All rights reserved. -# Copyright (c) 2020, Cypress Semiconductor Corporation. All rights reserved. +# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) +# or an affiliate of Cypress Semiconductor Corporation. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -18,7 +19,7 @@ set(INSTALL_INTERFACE_SRC_DIR ${TFM_INSTALL_PATH}/interface/src) set(INSTALL_INTERFACE_LIB_DIR ${TFM_INSTALL_PATH}/interface/lib) # export veneer lib -if (NOT TFM_MULTI_CORE_TOPOLOGY) +if (TFM_CONFIG_USE_TRUSTZONE) install(FILES ${CMAKE_BINARY_DIR}/secure_fw/s_veneers.o DESTINATION ${INSTALL_INTERFACE_LIB_DIR}) endif() |