diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | interface/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/ext/tf-m-tests/CMakeLists.txt | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fb6e840484..388cc5df75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,7 @@ add_subdirectory(docs) if(NS) # Set to ${TFM_TEST_REPO_PATH}/app by default add_subdirectory(${TFM_APP_PATH} ${CMAKE_CURRENT_BINARY_DIR}/app) + add_subdirectory(${TFM_NS_LOG_PATH} ${CMAKE_CURRENT_BINARY_DIR}/ns_log) endif() add_subdirectory(secure_fw) add_subdirectory(interface) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 7be967a47b..00e0fbbcfb 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -67,7 +67,6 @@ target_sources(psa_api_ns PRIVATE $<$<BOOL:${TFM_NS_CLIENT_IDENTIFICATION}>:src/tfm_nspm_svc_handler.c> $<$<BOOL:${TFM_NS_CLIENT_IDENTIFICATION}>:src/tfm_nspm_api.c> - ${CMAKE_CURRENT_SOURCE_DIR}/src/log/tfm_log_raw.c ) if (${TFM_PSA_API}) diff --git a/lib/ext/tf-m-tests/CMakeLists.txt b/lib/ext/tf-m-tests/CMakeLists.txt index df457fd656..3a1e60d17d 100644 --- a/lib/ext/tf-m-tests/CMakeLists.txt +++ b/lib/ext/tf-m-tests/CMakeLists.txt @@ -38,3 +38,7 @@ endif() if (NOT TFM_TEST_PATH) set(TFM_TEST_PATH ${TFM_TEST_REPO_PATH}/test CACHE PATH "Path to TFM tests" FORCE) endif() + +if (NOT TFM_NS_LOG_PATH) + set(TFM_NS_LOG_PATH ${TFM_TEST_REPO_PATH}/log CACHE PATH "Path to NS log" FORCE) +endif() |