aboutsummaryrefslogtreecommitdiff
path: root/components/service/secure_storage/backend/secure_flash_store/flash/component.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'components/service/secure_storage/backend/secure_flash_store/flash/component.cmake')
-rw-r--r--components/service/secure_storage/backend/secure_flash_store/flash/component.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/components/service/secure_storage/backend/secure_flash_store/flash/component.cmake b/components/service/secure_storage/backend/secure_flash_store/flash/component.cmake
new file mode 100644
index 000000000..a2f34e73c
--- /dev/null
+++ b/components/service/secure_storage/backend/secure_flash_store/flash/component.cmake
@@ -0,0 +1,16 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+if (NOT DEFINED TGT)
+ message(FATAL_ERROR "mandatory parameter TGT is not defined.")
+endif()
+
+target_sources(${TGT} PRIVATE
+ "${CMAKE_CURRENT_LIST_DIR}/sfs_flash_info.c"
+ "${CMAKE_CURRENT_LIST_DIR}/sfs_flash_ram.c"
+ "${CMAKE_CURRENT_LIST_DIR}/sfs_flash.c"
+ )
+