blob: cdabead13b7f1082c27612aff5dc7f73576e7832 [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 Sokolovskyb3f73992022-10-05 18:27:22 +030010env
11
Paul Sokolovsky3486b4e2022-09-06 13:33:57 +030012cd ${WORKSPACE}/trusted-firmware-a
Paul Sokolovsky242840a2022-10-27 21:10:09 +030013make clean DEBUG=${DEBUG}
Paul Sokolovsky31d237b2022-10-25 00:54:03 +030014
15# Replace '$(PWD)' with the *current* $PWD.
16MAKE_TARGET=$(echo "${MAKE_TARGET}" | sed "s|\$(PWD)|$PWD|")
17
Paul Sokolovsky242840a2022-10-27 21:10:09 +030018make ${MAKE_TARGET} -j3 $(cat ${WORKSPACE}/tf-a-ci-scripts/tf_config/$1) DEBUG=${DEBUG}