@@ -10,15 +10,23 @@
[ -z "$ATF" ] && ATF="bl31.bin"
if [ ! -f $ATF ]; then
- echo "WARNING ATF file $ATF NOT found, resulting binary is non-functional" >&2
- ATF=/dev/null
+ if [ "$BUILDBOT_BROKEN_BINARIES" = "y" ]; then
+ ATF=/dev/null
+ else
+ echo "ERROR: ATF file $ATF NOT found, resulting binary is non-functional" >&2
+ exit 1
+ fi
fi
[ -z "$TEE" ] && TEE="bl32.bin"
if [ ! -f $TEE ]; then
- echo "WARNING OPTEE file $TEE NOT found, resulting might be non-functional" >&2
- TEE=/dev/null
+ if [ "$BUILDBOT_BROKEN_BINARIES" = "y" ]; then
+ TEE=/dev/null
+ else
+ echo "ERROR: OPTEE file $TEE NOT found, resulting might be non-functional" >&2
+ exit 1
+ fi
fi
if [ ! -z "$IS_HS" ]; then
At this moment unusable binaries are produced if either bl31.bin or bl32.bin files are missing in order to allow passing of various CI tests. This intention of broken binaries has to be now explicitly confirmed via new BUILDBOT_BROKEN_BINARIES config option, so usable binaries are produced by default from now on. Signed-off-by: Petr ?tetiar <ynezz at true.cz> --- tools/k3_fit_atf.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)