mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00

The following build system variables have been renamed: - `LINKERFILE` -> `DEFAULT_LINKER_SCRIPT` - `BL_LINKERFILE` -> `DEFAULT_LINKER_SCRIPT_SOURCE` - `<IMAGE>_LINKERFILE` -> `<IMAGE>_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 `<IMAGE_LINKERFILE>` build system variables have been renamed. See the commit message for more information. Change-Id: If8cef65dcb8820e8993736702c8741e97a66e6cc Signed-off-by: Chris Kay <chris.kay@arm.com>
32 lines
850 B
Makefile
32 lines
850 B
Makefile
#
|
|
# Copyright (c) 2013-2023, Arm Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
BL1_SOURCES += bl1/${ARCH}/bl1_arch_setup.c \
|
|
bl1/${ARCH}/bl1_context_mgmt.c \
|
|
bl1/${ARCH}/bl1_entrypoint.S \
|
|
bl1/${ARCH}/bl1_exceptions.S \
|
|
bl1/bl1_main.c \
|
|
lib/cpus/${ARCH}/cpu_helpers.S \
|
|
lib/cpus/errata_report.c \
|
|
lib/el3_runtime/${ARCH}/context_mgmt.c \
|
|
plat/common/plat_bl1_common.c \
|
|
plat/common/${ARCH}/platform_up_stack.S \
|
|
${MBEDTLS_SOURCES}
|
|
|
|
ifeq (${DISABLE_MTPMU},1)
|
|
BL1_SOURCES += lib/extensions/mtpmu/${ARCH}/mtpmu.S
|
|
endif
|
|
|
|
ifeq (${ARCH},aarch64)
|
|
BL1_SOURCES += lib/cpus/aarch64/dsu_helpers.S \
|
|
lib/el3_runtime/aarch64/context.S
|
|
endif
|
|
|
|
ifeq (${TRUSTED_BOARD_BOOT},1)
|
|
BL1_SOURCES += bl1/bl1_fwu.c
|
|
endif
|
|
|
|
BL1_DEFAULT_LINKER_SCRIPT_SOURCE := bl1/bl1.ld.S
|