ci: add capability to clone and build RF-A

 * Add support to clone the RF-A repository using
   local CI and also add necessary hooks to build RF-A.
 * Update run_local_ci script to pass missing paramters
   like no_rfa.

Change-Id: Icad55bc3321f524009636f554f6d751cc536eaf6
Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
diff --git a/script/run_local_ci.sh b/script/run_local_ci.sh
index ba3156f..d67502f 100755
--- a/script/run_local_ci.sh
+++ b/script/run_local_ci.sh
@@ -361,6 +361,15 @@
 	let "++local_count"
 fi
 
+if [ -z "$rfa_root" ]; then
+	in_red "NOTE: NOT using local work tree for RF-A"
+else
+	rfa_root="$(readlink -f $rfa_root)"
+	rfa_refspec=
+	in_green "Using local work tree for RF-A"
+	let "++local_count"
+fi
+
 if [ -z "$tfm_tests_root" ]; then
 	in_red "NOTE: NOT using local work tree for TF-M-TESTS"
 else
@@ -419,7 +428,7 @@
 fi
 
 # Use clone_repos.sh to clone and share repositories that aren't local.
-no_tf="$tf_root" no_tftf="$tftf_root" no_spm="$spm_root" no_rmm="$rmm_root" \
+no_tf="$tf_root" no_tftf="$tftf_root" no_spm="$spm_root" no_rmm="$rmm_root" no_rfa="$rfa_root" \
 no_ci="$ci_root" no_cc="$import_cc" no_tfm_tests="$tfm_tests_root" no_tfm_extras="$tfm_extras_root" \
 	bash $minus_x "$ci_root/script/clone_repos.sh"