Build: Change config_default to build minimum.
- disable all partitions
- default SPM backend is SFN
= set log level to silent
- adjust platform's CMake scripts
- to include acceleartor conditionally
- enable partitions required for some platform
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: Icc36078c396e3a94a91fdf93d7f1bd5a46dc0d69
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 417b7d7..380168b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,12 +55,6 @@
set(TFM_INSTALL_PATH ${CMAKE_INSTALL_PREFIX} CACHE PATH "Path to which to install TF-M files" FORCE)
endif()
-############################ Config Check ######################################
-
-include(${CMAKE_SOURCE_DIR}/config/check_config.cmake)
-
-################################################################################
-
add_subdirectory(lib/ext)
add_subdirectory(lib/fih)
add_subdirectory(tools)
@@ -88,4 +82,10 @@
add_subdirectory(platform/ext/accelerator)
endif()
+############################ Config Check ######################################
+
+include(${CMAKE_SOURCE_DIR}/config/check_config.cmake)
+
+################################################################################
+
include(cmake/install.cmake)