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/tools/config_impl.cmake.template b/tools/config_impl.cmake.template
index 9fb0e7c..acee982 100644
--- a/tools/config_impl.cmake.template
+++ b/tools/config_impl.cmake.template
@@ -8,15 +8,13 @@
########{{utilities.donotedit_warning}}########
-if(TFM_PSA_API)
- set(CONFIG_TFM_PSA_API_SFN_CALL {{config_impl['CONFIG_TFM_PSA_API_SFN_CALL']}} PARENT_SCOPE)
- set(CONFIG_TFM_PSA_API_CROSS_CALL {{config_impl['CONFIG_TFM_PSA_API_CROSS_CALL']}} PARENT_SCOPE)
- set(CONFIG_TFM_PSA_API_SUPERVISOR_CALL {{config_impl['CONFIG_TFM_PSA_API_SUPERVISOR_CALL']}} PARENT_SCOPE)
+set(CONFIG_TFM_PSA_API_SFN_CALL {{config_impl['CONFIG_TFM_PSA_API_SFN_CALL']}} PARENT_SCOPE)
+set(CONFIG_TFM_PSA_API_CROSS_CALL {{config_impl['CONFIG_TFM_PSA_API_CROSS_CALL']}} PARENT_SCOPE)
+set(CONFIG_TFM_PSA_API_SUPERVISOR_CALL {{config_impl['CONFIG_TFM_PSA_API_SUPERVISOR_CALL']}} PARENT_SCOPE)
- if((CONFIG_TFM_FLOAT_ABI GREATER 0) AND CONFIG_TFM_SPM_BACKEND_SFN)
- message(FATAL_ERROR "FP is not supported for SFN model.")
- endif()
-
- set(CONFIG_TFM_FLIH_API {{config_impl['CONFIG_TFM_FLIH_API']}} PARENT_SCOPE)
- set(CONFIG_TFM_SLIH_API {{config_impl['CONFIG_TFM_SLIH_API']}} PARENT_SCOPE)
+if((CONFIG_TFM_FLOAT_ABI GREATER 0) AND CONFIG_TFM_SPM_BACKEND_SFN)
+ message(FATAL_ERROR "FP is not supported for SFN model.")
endif()
+
+set(CONFIG_TFM_FLIH_API {{config_impl['CONFIG_TFM_FLIH_API']}} PARENT_SCOPE)
+set(CONFIG_TFM_SLIH_API {{config_impl['CONFIG_TFM_SLIH_API']}} PARENT_SCOPE)