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/next-checks/next-checks-cargo-fmt.sh b/script/next-checks/next-checks-cargo-fmt.sh
index 4db97c9..6adb58b 100755
--- a/script/next-checks/next-checks-cargo-fmt.sh
+++ b/script/next-checks/next-checks-cargo-fmt.sh
@@ -19,7 +19,7 @@
EXIT_VALUE=0
-cargo fmt --manifest-path=${TF_ROOT}/rust/Cargo.toml --all -- --check &> "$LOG_FILE"
+cargo fmt --all -- --check &> "$LOG_FILE"
if [ "$?" -ne 0 ]; then
EXIT_VALUE=1