blob: b3fde29509c33f5ea8880e0f6025bd8b694084ba [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#!/bin/bash
2#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8set -e
Fathi Boudra422bf772019-12-02 11:10:16 +02009# If it's a Juno build-only config, or an FVP config, we do everything locally
10if [ "$RUN_CONFIG" = "nil" ]; then
11 exit 0
12fi
13
14case "$RUN_CONFIG" in
15 fvp-*)
16 exit 0;;
17 coverity-*)
18 exit 0;;
Zelalem917b43e2020-08-04 11:39:55 -050019 scan_build-*)
20 exit 0;;
21 norun-*)
22 exit 0;;
Fathi Boudra422bf772019-12-02 11:10:16 +020023esac
24
25# If we're not going to run Juno, then no need to spawn tf-build-for lava;
26# build it locally.
27if [ "$skip_juno" ]; then
28 exit 0
29fi
30
31exit 1