blob: 2e1e8dda505653395cf9d4853289a68690cafee9 [file] [log] [blame]
Manish Pandeyb0395bc2020-08-14 12:23:11 +01001#
Arthur She510e8402023-01-23 13:21:28 -08002# Copyright (c) 2023, Arm Limited. All rights reserved.
Manish Pandeyb0395bc2020-08-14 12:23:11 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Arthur She510e8402023-01-23 13:21:28 -08007pre_tf_build() {
8 local ext_lib="libqtisec.a"
9
10 pushd "${workspace}"
11
12 if [ ! -f "${ext_lib}" ]; then
13 echo "Fetch ${ext_lib} for sc7180"
14 saveas="${ext_lib}" \
15 url="https://github.com/coreboot/qc_blobs/raw/master/sc7180/qtiseclib/libqtisec.a" \
16 fetch_file
17 pwd; ls -l
18 fi
19
20 popd "${workspace}"
21}