Add fwu raw_installer
The raw_installer can be used to install a raw image directly into
a storage volume. The raw_installer can be used for say installing
a whole firmware update contained within a single image into target
storage such as a flash partition.
Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: I78de31ffdd8185adaf91c98865f457776cada2a5
diff --git a/components/service/fwu/installer/raw/component.cmake b/components/service/fwu/installer/raw/component.cmake
new file mode 100644
index 0000000..47c4cbb
--- /dev/null
+++ b/components/service/fwu/installer/raw/component.cmake
@@ -0,0 +1,16 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2022-2023, 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}/raw_installer.c"
+ )
+
+target_compile_definitions(${TGT} PRIVATE
+ RAW_INSTALLER_AVAILABLE)
\ No newline at end of file