Build: Add missed dependency to scatter files
On isolation level 2 and 3 scatter files are made from templates
processed together with manifests. The missed dependency cuased
occasional build failures.
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: Ib4efec643d32c5df6644cce15694f3ff2c175f59
diff --git a/toolchain_IARARM.cmake b/toolchain_IARARM.cmake
index 527c971..36637e9 100644
--- a/toolchain_IARARM.cmake
+++ b/toolchain_IARARM.cmake
@@ -199,6 +199,11 @@
PRIVATE
--preprocess=sn $<TARGET_OBJECTS:${target}_scatter>
)
+
+ # Scatter file shall be preprocessed by manifest tool in isolation level 2,3
+ add_dependencies(${target}_scatter
+ manifest_tool
+ )
endmacro()
macro(add_convert_to_bin_target target)