feat(tfut): add support for hooks and run configs

With this patch, the pre_tfut_build hook can be implemented in the
TFUT run config files in order to perform custom actions, such as
setting build targets. This way, build targets can be specified in
the TFUT run config files, as it is currently done for TF-A, allowing
for more flexibility.

Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Signed-off-by: Edward Potapov <edward.potapov@arm.com>
Change-Id: If8a4d0c63a885eee9ffdd8f2c5a68c6a3cff9cd4
diff --git a/run_config_tfut/memcpy b/run_config_tfut/memcpy
new file mode 100644
index 0000000..0a65e82
--- /dev/null
+++ b/run_config_tfut/memcpy
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2024, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tfut_build() {
+	targets="memcpy" add_tfut_build_targets
+}
+