Build: Decouple NS from config_impl.cmake
config_impl.cmake collects some SPM specific config flags. Those config
flags are transparent to NS developers.
Remove NS dependency on those config flags to simplify NS integration
with TF-M.
Signed-off-by: David Hu <david.hu@arm.com>
Change-Id: I39f53284dbf34a42e0ea745fdcd73f493807988d
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 603fcc8..c0146a4 100755
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -115,7 +115,6 @@
target_sources(tfm_api_ns PRIVATE
$<$<BOOL:${CONFIG_TFM_USE_TRUSTZONE}>:${INTERFACE_SRC_DIR}/tfm_psa_ns_api.c>
- $<$<AND:$<BOOL:${CONFIG_TFM_USE_TRUSTZONE}>,$<BOOL:${CONFIG_TFM_CONNECTION_BASED_SERVICE_API}>>:${INTERFACE_SRC_DIR}/tfm_psa_ns_connection_api.c>
# NS specific implementation of NS interface dispacther
$<$<BOOL:${CONFIG_TFM_USE_TRUSTZONE}>:${CMAKE_CURRENT_SOURCE_DIR}/tfm_ns_interface.c>
)