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-doc.sh b/script/next-checks/next-checks-cargo-doc.sh
index 073953f..2ce29cf 100755
--- a/script/next-checks/next-checks-cargo-doc.sh
+++ b/script/next-checks/next-checks-cargo-doc.sh
@@ -19,7 +19,7 @@
echo >> "$LOG_TEST_FILENAME"
echo "Platforms:" >> "$LOG_TEST_FILENAME"
-available_platforms=$(make --silent -C ${TF_ROOT}/rust list_platforms)
+available_platforms=$(make --silent -C ${TF_ROOT} list_platforms)
# Run cargo doc for all platforms
for plat in $available_platforms
@@ -27,7 +27,7 @@
echo >> $LOG_FILE
echo "############### ${TEST_CASE} - platform: ${plat}" >> "$LOG_FILE"
echo >> $LOG_FILE
- make -C ${TF_ROOT}/rust PLAT=${plat} cargo-doc >> "$LOG_FILE" 2>&1
+ make -C ${TF_ROOT} PLAT=${plat} cargo-doc >> "$LOG_FILE" 2>&1
if [ "$?" -ne 0 ]; then
echo -e " ${plat}\t: FAIL" >> "$LOG_TEST_FILENAME"