mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 05:43:53 +00:00

This has been introduced to simplify dependencies on the FDT wrappers. We generally want to avoid pulling in components on a file-by-file basis, particularly as we are trying to draw conceptual boxes around components in preparation for transitioning the build system to CMake, where dependencies are modelled on libraries rather than files. Signed-off-by: Chris Kay <chris.kay@arm.com> Change-Id: Idb7ee05a9b54a8caa3e07f36e608867e20b6dcd5
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
#
|
|
# Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
include common/fdt_wrappers.mk
|
|
|
|
# SP_MIN source files specific to FVP platform
|
|
BL32_SOURCES += drivers/arm/fvp/fvp_pwrc.c \
|
|
drivers/cfi/v2m/v2m_flash.c \
|
|
lib/utils/mem_region.c \
|
|
plat/arm/board/fvp/aarch32/fvp_helpers.S \
|
|
plat/arm/board/fvp/fvp_pm.c \
|
|
plat/arm/board/fvp/fvp_console.c \
|
|
plat/arm/board/fvp/fvp_topology.c \
|
|
plat/arm/board/fvp/sp_min/fvp_sp_min_setup.c \
|
|
plat/arm/common/arm_nor_psci_mem_protect.c \
|
|
${FVP_CPU_LIBS} \
|
|
${FVP_GIC_SOURCES} \
|
|
${FVP_INTERCONNECT_SOURCES} \
|
|
${FVP_SECURITY_SOURCES}
|
|
|
|
# Support for fconf in SP_MIN(BL32)
|
|
# Added separately from the above list for better readability
|
|
ifeq ($(filter 1,${BL2_AT_EL3} ${RESET_TO_SP_MIN}),)
|
|
BL32_SOURCES += lib/fconf/fconf.c \
|
|
plat/arm/board/fvp/fconf/fconf_hw_config_getter.c
|
|
|
|
BL32_SOURCES += ${FDT_WRAPPERS_SOURCES}
|
|
|
|
ifeq (${SEC_INT_DESC_IN_FCONF},1)
|
|
BL32_SOURCES += plat/arm/common/fconf/fconf_sec_intr_config.c
|
|
endif
|
|
|
|
endif
|
|
|
|
include plat/arm/common/sp_min/arm_sp_min.mk
|