blob: 5c0a556635be84b0ee79fff95384e03fd1f217e7 [file] [log] [blame]
Zelaleme9e81482020-07-10 15:18:46 -05001#!/bin/bash
2#
3# Copyright (c) 2020, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8# This run fragment is used to generate a dummy FIP. The resulting file is not
9# functional and cannot be used in a real run on a platform.
10#
11# This is useful in cases where we want to build a FIP in addition to the
12# individual firmware binaries.
13
14post_tf_build() {
15 # Create non-empty dummy images to include in the FIP.
16 local dummy_file="$(mktempfile)"
17 echo "hello world" > "$dummy_file"
18
19 build_fip BL33="$dummy_file" BL32="$dummy_file" \
20 BL32_EXTRA1="$dummy_file" BL32_EXTRA2="$dummy_file"
21}