summaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra/soc/t194/platform_t194.mk
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2021-09-28 15:52:14 +0100
committerChris Kay <chris.kay@arm.com>2021-10-26 12:14:28 +0100
commit1fa05dab070274eede406a5c33bb00b4c5a81fd0 (patch)
tree9a7a6be0c5501a279bdd2b9d85b9cf472e893b35 /plat/nvidia/tegra/soc/t194/platform_t194.mk
parenteb1acfb60c6ddf5b72e9d68625a7ec046e895236 (diff)
downloadarm-trusted-firmware-1fa05dab070274eede406a5c33bb00b4c5a81fd0.tar.gz
build(fdt-wrappers): introduce FDT wrappers makefile
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
Diffstat (limited to 'plat/nvidia/tegra/soc/t194/platform_t194.mk')
-rw-r--r--plat/nvidia/tegra/soc/t194/platform_t194.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/plat/nvidia/tegra/soc/t194/platform_t194.mk b/plat/nvidia/tegra/soc/t194/platform_t194.mk
index 339375f83..758383380 100644
--- a/plat/nvidia/tegra/soc/t194/platform_t194.mk
+++ b/plat/nvidia/tegra/soc/t194/platform_t194.mk
@@ -1,9 +1,11 @@
#
-# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
+# Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
+include common/fdt_wrappers.mk
+
# platform configs
ENABLE_CONSOLE_SPE := 1
$(eval $(call add_define,ENABLE_CONSOLE_SPE))
@@ -74,10 +76,10 @@ endif
# SPM dispatcher
ifeq (${SPD},spmd)
-# include device tree helper library
include lib/libfdt/libfdt.mk
# sources to support spmd
BL31_SOURCES += plat/common/plat_spmd_manifest.c \
- common/fdt_wrappers.c \
${LIBFDT_SRCS}
+
+BL31_SOURCES += ${FDT_WRAPPERS_SOURCES}
endif