blob: 6fd4c8c367ed938ed1d02b483726fa8d3dc87e01 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05003# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_archive() {
9 # A combined BL1 and ROMLIB binary with the right alignment is
10 # needed for Juno when library at ROM is enabled (USE_ROMLIB=1)
11 # The combined binary bl1_romlib.bin has to be used instead of BL1
12 echo "Copying bl1_romlib.bin to bl1.bin."
13 mv "$archive/bl1_romlib.bin" "$archive/bl1.bin"
14}