From 82274936374bf630bf5256370e93a531fdda6372 Mon Sep 17 00:00:00 2001 From: Chris Kay Date: Mon, 16 Jan 2023 16:53:45 +0000 Subject: build: clarify linker script generation The following build system variables have been renamed: - `LINKERFILE` -> `DEFAULT_LINKER_SCRIPT` - `BL_LINKERFILE` -> `DEFAULT_LINKER_SCRIPT_SOURCE` - `_LINKERFILE` -> `_DEFAULT_LINKER_SCRIPT_SOURCE` These new names better reflect how each variable is used: 1. the default linker script is passed via `-dT` instead of `-T` 2. linker script source files are first preprocessed Additionally, linker scripts are now placed in the build directory relative to where they exist in the source directory. For example, the `bl32/sp_min/sp_min.ld.S` would now preprocess to `sp_min/sp_min.ld` instead of just `bl32.ld` BREAKING-CHANGE: The `LINKERFILE`, `BL_LINKERFILE` and `` build system variables have been renamed. See the commit message for more information. Change-Id: If8cef65dcb8820e8993736702c8741e97a66e6cc Signed-off-by: Chris Kay --- bl1/bl1.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bl1') diff --git a/bl1/bl1.mk b/bl1/bl1.mk index 9f63fd50f..0c43f13d0 100644 --- a/bl1/bl1.mk +++ b/bl1/bl1.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2013-2023, Arm Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -29,4 +29,4 @@ ifeq (${TRUSTED_BOARD_BOOT},1) BL1_SOURCES += bl1/bl1_fwu.c endif -BL1_LINKERFILE := bl1/bl1.ld.S +BL1_DEFAULT_LINKER_SCRIPT_SOURCE := bl1/bl1.ld.S -- cgit v1.2.1