tf-a-next: cope with new RF-A tree layout
Since RF-A commit "chore(rust): move all RF-A files to the top
directory", the rust/ directory does not exist anymore. Update the
`build_package.sh` and static checks scripts to cope with that.
Signed-off-by: Sandrine Afsa <sandrine.afsa@arm.com>
Change-Id: I2bafffa5742119a6439a8902c0d486fcd30d8f18
diff --git a/script/build_package.sh b/script/build_package.sh
index 6694a30..a3ba94a 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -631,7 +631,7 @@
source "$config_file"
- cd "$tf_root/rust"
+ cd "$tf_root"
# Always distclean when running on Jenkins. Skip distclean when running
# locally and explicitly requested.
@@ -1753,7 +1753,7 @@
show_head "$TFA"
poetry -C "$TFA" install --without docs
- rfa_build_root="$tf_root/rust/target"
+ rfa_build_root="$tf_root/target"
echo "Building Rusted Firmware ($mode) ..." |& log_separator
if not_upon "$local_ci"; then