xref: /aosp_15_r20/external/trusty/arm-trusted-firmware/bl1/bl1.mk
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2013-2024, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7BL1_SOURCES		+=	bl1/${ARCH}/bl1_arch_setup.c		\
8				bl1/${ARCH}/bl1_context_mgmt.c		\
9				bl1/${ARCH}/bl1_entrypoint.S		\
10				bl1/${ARCH}/bl1_exceptions.S		\
11				bl1/bl1_main.c				\
12				lib/cpus/${ARCH}/cpu_helpers.S		\
13				lib/cpus/errata_report.c		\
14				lib/el3_runtime/${ARCH}/context_mgmt.c	\
15				lib/locks/exclusive/${ARCH}/spinlock.S	\
16				plat/common/plat_bl1_common.c		\
17				plat/common/${ARCH}/platform_up_stack.S \
18				${MBEDTLS_SOURCES}
19
20ifeq (${ARCH},aarch64)
21BL1_SOURCES		+=	lib/cpus/aarch64/dsu_helpers.S		\
22				lib/el3_runtime/aarch64/context.S
23endif
24
25ifeq (${TRUSTED_BOARD_BOOT},1)
26BL1_SOURCES		+=	bl1/bl1_fwu.c
27endif
28
29ifeq (${ENABLE_PMF},1)
30BL1_SOURCES		+=	lib/pmf/pmf_main.c
31endif
32
33ifeq ($($(ARCH)-ld-id),gnu-gcc)
34        BL1_LDFLAGS	+=	-Wl,--sort-section=alignment
35else ifneq ($(filter llvm-lld gnu-ld,$($(ARCH)-ld-id)),)
36        BL1_LDFLAGS	+=	--sort-section=alignment
37endif
38
39BL1_DEFAULT_LINKER_SCRIPT_SOURCE := bl1/bl1.ld.S
40

served by {OpenGrok

Last Index Update: Mon Apr 28 06:57:04 CEST 2025