commit | 95add8abb15879f48f1069a0952dd9abdffbc1f8 | [log] [tgz] |
---|---|---|
author | Anton Komlev <anton.komlev@arm.com> | Thu May 09 14:33:11 2024 +0100 |
committer | Anton Komlev <anton.komlev@arm.com> | Mon May 13 11:20:33 2024 +0100 |
tree | dddb9be7ae8674d70cdf76b9222ac05d8aa2126d | |
parent | 3688278ee9692c15e25a81017e82378411f6c79d [diff] [blame] |
App: Fix TF-M Application example Signed-off-by: Anton Komlev <anton.komlev@arm.com> Change-Id: Ie946c15371ad4b7854595a38f19c8357f4f4ea59
diff --git a/examples/tf-m-example-ns-app/CMakeLists.txt b/examples/tf-m-example-ns-app/CMakeLists.txt index 386ea77..1e93790 100644 --- a/examples/tf-m-example-ns-app/CMakeLists.txt +++ b/examples/tf-m-example-ns-app/CMakeLists.txt
@@ -51,6 +51,13 @@ tfm_api_ns ) +if (CONFIG_TFM_USE_TRUSTZONE) + target_link_libraries(tfm_ns + PRIVATE + tfm_api_ns_tz + ) +endif() + set_target_properties(tfm_ns PROPERTIES SUFFIX ".axf" RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"