Build: Fetch t_cose lib into the shared folder

Fetch the t_cose library into the shared folder so
later it can be copied to the individual job workspaces.

TF-M switched from using its internal t_cose fork to use
the upstream t_cose repository thus TF-M tries to fetch it
during the CMake configuration step.

Signed-off-by: David Vincze <david.vincze@arm.com>
Change-Id: I2fe9840028ed981bb4a1de9be1ef908c67dfd960
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index c6dfb54..e6eef5d 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -62,6 +62,7 @@
         "-DPSA_ARCH_TESTS_PATH=%(codebase_root_dir)s/../psa-arch-tests " + \
         "-DMCUBOOT_PATH=%(codebase_root_dir)s/../mcuboot " + \
         "-DQCBOR_PATH=%(codebase_root_dir)s/../qcbor " + \
+        "-DT_COSE_PATH=%(codebase_root_dir)s/../t_cose " + \
         "-DTFM_EXTRAS_REPO_PATH=%(codebase_root_dir)s/../tf-m-extras ",
 
     "nspe_config_template": "cmake -G Ninja " + \
@@ -70,7 +71,8 @@
         "-DCONFIG_SPE_PATH=%(ci_build_root_dir)s/spe/api_ns " + \
         "-DTFM_TOOLCHAIN_FILE=%(ci_build_root_dir)s/spe/api_ns/cmake/%(ns_compiler)s " + \
         "%(extra_params)s " + \
-        "-DQCBOR_PATH=%(codebase_root_dir)s/../qcbor ",
+        "-DQCBOR_PATH=%(codebase_root_dir)s/../qcbor " + \
+        "-DT_COSE_PATH=%(codebase_root_dir)s/../t_cose ",
 
     # CMake build commands will be executed for every build.
     "spe_cmake_build":  "cmake --build %(ci_build_root_dir)s/spe -- install",