aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Peng <kevin.peng@arm.com>2020-10-20 17:50:20 +0800
committerKen Liu <ken.liu@arm.com>2020-10-23 08:07:47 +0000
commitca4846e37540b92902fe97ccb11146bd5aea61fb (patch)
treebc5b6788ef4561c0bb4a0e5fa5de3896ba2e5fad /lib
parentb1eb42b4dca6d262d38f450eb029872e3f5fcf6e (diff)
downloadtrusted-firmware-m-ca4846e37540b92902fe97ccb11146bd5aea61fb.tar.gz
Build: Change NS log from interface to test log system
The NS binary in tf-m-tests repo should use its own log implementations. This part is missed on the new build system. This patch fixes this by: 1. Add the tfm NS library into build (the library CMake is added by the test repo) 2. Remove the build of log under interface for NS API Change-Id: Ib25758950700e819863d278f4a97dcae70bedaa1 Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/tf-m-tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ext/tf-m-tests/CMakeLists.txt b/lib/ext/tf-m-tests/CMakeLists.txt
index df457fd65..3a1e60d17 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()