blob: 0a5a6965148215b4eaeb4a4277f7322d46d70731 [file] [log] [blame]
Paul Sokolovsky3486b4e2022-09-06 13:33:57 +03001#!/bin/bash
2#
3# Copyright (c) 2021-2022 BUGSENG srl. All rights reserved.
4# Copyright (c) 2022 Arm Limited. All rights reserved.
5#
6# SPDX-License-Identifier: BSD-3-Clause
7
8set -ex
9
Paul Sokolovsky95040c82023-09-14 11:06:42 +030010. tf-a-ci-scripts/eclair/analyze_common2.sh
11
Paul Sokolovskyb3f73992022-10-05 18:27:22 +030012env
13
Paul Sokolovsky3486b4e2022-09-06 13:33:57 +030014cd ${WORKSPACE}/trusted-firmware-a
Paul Sokolovsky242840a2022-10-27 21:10:09 +030015make clean DEBUG=${DEBUG}
Paul Sokolovsky31d237b2022-10-25 00:54:03 +030016
17# Replace '$(PWD)' with the *current* $PWD.
18MAKE_TARGET=$(echo "${MAKE_TARGET}" | sed "s|\$(PWD)|$PWD|")
19
Paul Sokolovskya9ec0582023-09-10 20:33:11 +030020make ${MAKE_TARGET} -j${MAKE_JOBS:-3} $(cat ${WORKSPACE}/tf-a-ci-scripts/tf_config/$1) DEBUG=${DEBUG}