Core: Move PSA API to SPRTL
Move psa_client.c and psa_service.c files into interface folder and
store in SPRTL.
Change-Id: I5bfb5888016e8e18eb39876744f87f4b6de760c0
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/secure_fw/lib/sprt/CMakeLists.inc b/secure_fw/lib/sprt/CMakeLists.inc
index dca3a87..55ae920 100644
--- a/secure_fw/lib/sprt/CMakeLists.inc
+++ b/secure_fw/lib/sprt/CMakeLists.inc
@@ -30,6 +30,13 @@
"${LIBSPRT_DIR}/tfm_libsprt_c_memcmp.c"
"${TFM_ROOT_DIR}/interface/src/log/tfm_log_raw.c")
+if (TFM_PSA_API)
+ list(APPEND LIBSPRT_C_SRC
+ "${TFM_ROOT_DIR}/interface/src/psa/psa_client.c"
+ "${TFM_ROOT_DIR}/interface/src/psa/psa_service.c"
+ )
+endif()
+
#Append all our source files to global lists.
list(APPEND ALL_SRC_C_S ${LIBSPRT_C_SRC})
unset(LIBSPRT_C_SRC)