Build: Remove Library Model branch in build system
Library Model is deprecated, so remove library model branch in build
system:
- TFM_PSA_API/TFM_LIB_MODEL
- remove tfm_library_config_default.cmake
Signed-off-by: Summer Qin <summer.qin@arm.com>
Change-Id: I644fbdb6041ba07ed35829a412472c7ac467c94d
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index b6c96ac..cbbb117 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -45,7 +45,7 @@
target_compile_definitions(psa_interface
INTERFACE
- $<$<BOOL:${TFM_PSA_API}>:TFM_PSA_API>
+ TFM_PSA_API
$<$<BOOL:${CONFIG_TFM_ENABLE_CTX_MGMT}>:CONFIG_TFM_ENABLE_CTX_MGMT>
$<$<BOOL:${TFM_ISOLATION_LEVEL}>:TFM_LVL=${TFM_ISOLATION_LEVEL}>
$<$<BOOL:${CONFIG_TFM_USE_TRUSTZONE}>:CONFIG_TFM_USE_TRUSTZONE>
@@ -58,7 +58,7 @@
target_sources(tfm_sprt
PRIVATE
- $<$<BOOL:${TFM_PSA_API}>:${CMAKE_CURRENT_SOURCE_DIR}/src/tfm_psa_call_pack.c>
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/tfm_psa_call_pack.c
)
target_compile_definitions(tfm_sprt