blob: 88c9dd13eac587359fe42e877692afcb0f9308e0 [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 Sokolovskyb3f73992022-10-05 18:27:22 +030013make clean
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 Sokolovsky8d03a342022-10-07 17:59:47 +030018make ${MAKE_TARGET} -j3 $(cat ${WORKSPACE}/tf-a-ci-scripts/tf_config/$1)