summaryrefslogtreecommitdiff
path: root/bl32/sp_min
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2021-05-19 19:24:37 +0100
committerChris Kay <chris.kay@arm.com>2021-10-26 12:14:30 +0100
commit9b43d098d892d39f79be7738cff15bbef5979ed8 (patch)
tree584aa893ae46c9b326dc2280c6ece7ff327bae79 /bl32/sp_min
parente04da4c8e132f43218f18ad3b41479ca54bb9263 (diff)
downloadarm-trusted-firmware-9b43d098d892d39f79be7738cff15bbef5979ed8.tar.gz
build(amu): introduce `amu.mk`
This change introduces the `amu.mk` Makefile, used to remove the need to manually include AMU sources into the various build images. Makefiles requiring the list of AMU sources are expected to include this file and use `${AMU_SOURCES}` to retrieve them. Change-Id: I3d174033ecdce6439a110d776f0c064c67abcfe0 Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'bl32/sp_min')
-rw-r--r--bl32/sp_min/sp_min.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/bl32/sp_min/sp_min.mk b/bl32/sp_min/sp_min.mk
index 6339cf856..590b0327a 100644
--- a/bl32/sp_min/sp_min.mk
+++ b/bl32/sp_min/sp_min.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2016-2020, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -8,6 +8,7 @@ ifneq (${ARCH}, aarch32)
$(error SP_MIN is only supported on AArch32 platforms)
endif
+include lib/extensions/amu/amu.mk
include lib/psci/psci_lib.mk
INCLUDES += -Iinclude/bl32/sp_min
@@ -27,9 +28,8 @@ ifeq (${ENABLE_PMF}, 1)
BL32_SOURCES += lib/pmf/pmf_main.c
endif
-ifeq (${ENABLE_AMU}, 1)
-BL32_SOURCES += lib/extensions/amu/aarch32/amu.c\
- lib/extensions/amu/aarch32/amu_helpers.S
+ifeq (${ENABLE_AMU},1)
+BL32_SOURCES += ${AMU_SOURCES}
endif
ifeq (${WORKAROUND_CVE_2017_5715},1)