* atf-20240117-bacca82a8: import new atf Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20240117-bacca82a8: remove Werror * atf-20240117-bacca82a8: call bromimage-x86_64 for aarch64 host * atf-20240117-bacca82a8: export ram boot uart option Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20240117-bacca82a8: apply openwrt patches Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20240117-bacca82a8: port board configs Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * build.sh: switch to use atf-20240117-bacca82a8 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * build.sh: support new menuconfig Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * build.sh: pass u-boot path by variable Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> * atf-20231013-0ea67d76a: drop Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> --------- Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Co-authored-by: hanwckf <hanwckf@vip.qq.com>
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
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 (${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
|
|
|
|
ifeq (${ENABLE_PMF},1)
|
|
BL1_SOURCES += lib/pmf/pmf_main.c
|
|
endif
|
|
|
|
ifneq ($(findstring gcc,$(notdir $(LD))),)
|
|
BL1_LDFLAGS += -Wl,--sort-section=alignment
|
|
else ifneq ($(findstring ld,$(notdir $(LD))),)
|
|
BL1_LDFLAGS += --sort-section=alignment
|
|
endif
|
|
|
|
BL1_DEFAULT_LINKER_SCRIPT_SOURCE := bl1/bl1.ld.S
|