scp: replace deprecated makefile command
Previously `make clean` as used to clean the SCP-Firmware workspace.
With the deprecation of `Makefile` this command will not longer work
for that reason it was replaced with the corresponding one that
uses the `Makefile.cmake` wrapper file.
Signed-off-by: Leandro Belli <leandro.belli@arm.com>
Change-Id: I0fcf091aef345ebb5b24fd3aef06c4e15717b61c
diff --git a/script/build_package.sh b/script/build_package.sh
index 15131bb..88af3e8 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -587,7 +587,7 @@
# Always distclean when running on Jenkins. Skip distclean when running
# locally and explicitly requested.
if upon "$jenkins_run" || not_upon "$dont_clean"; then
- make clean &>>"$build_log" || fail_build
+ make -f Makefile.cmake clean &>>"$build_log" || fail_build
fi
python3 -m venv .venv