aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChris Brand <chris.brand@cypress.com>2022-07-05 14:18:42 -0700
committerChris Brand <chris.brand@cypress.com>2022-08-03 09:07:31 -0700
commit9edf081f99f7551efadac833188aaaec57a27ac1 (patch)
treede055118e7c6b1e307eada457fad15932ce869d5 /cmake
parentec27c23f522b654783bef3920307e4bd89d087af (diff)
downloadtrusted-firmware-m-9edf081f99f7551efadac833188aaaec57a27ac1.tar.gz
Build: Add optional install.cmake for platform
Change-Id: I04a935be89964e7c2d3b9fd442d10e4b92baf560 Signed-off-by: Roman Mazurak <Roman.Mazurak@infineon.com> Signed-off-by: Chris Brand <chris.brand@cypress.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/install.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake
index 8ee9189842..a9971de9f8 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -228,3 +228,9 @@ if(TFM_PARTITION_FIRMWARE_UPDATE)
DESTINATION ${INSTALL_INTERFACE_SRC_DIR})
endif()
endif()
+
+##################### Platform-specific installation ###########################
+
+if (EXISTS ${CMAKE_SOURCE_DIR}/platform/ext/target/${TFM_PLATFORM}/install.cmake)
+ include(platform/ext/target/${TFM_PLATFORM}/install.cmake)
+endif()