Build: Generalise dependency on manifest_tool
The manifest_tool target generates PSA interface based on TF-M configuration.
Some modules use that API during TF-M build so in a heavy-loaded
parallel build environment that API might not be ready yet as it was in
the case of scatter files. This change generalises the dependency.
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: I68b0e829f8a2d054cd5b845fd647adb8d6f94829
diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt
index 97711e8..095450a 100644
--- a/interface/CMakeLists.txt
+++ b/interface/CMakeLists.txt
@@ -41,6 +41,8 @@
$<$<BOOL:${TEST_NS_MULTI_CORE}>:TFM_MULTI_CORE_TEST>
)
+add_dependencies(psa_interface manifest_tool)
+
###################### PSA api (S lib) #########################################
target_sources(tfm_sprt