summaryrefslogtreecommitdiff
path: root/bl31
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 /bl31
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 'bl31')
-rw-r--r--bl31/bl31.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk
index 106d4109d..4e9e99f46 100644
--- a/bl31/bl31.mk
+++ b/bl31/bl31.mk
@@ -22,6 +22,7 @@ ifeq (${SPM_MM},1)
endif
endif
+include lib/extensions/amu/amu.mk
include lib/psci/psci_lib.mk
BL31_SOURCES += bl31/bl31_main.c \
@@ -78,8 +79,7 @@ BL31_SOURCES += lib/extensions/spe/spe.c
endif
ifeq (${ENABLE_AMU},1)
-BL31_SOURCES += lib/extensions/amu/aarch64/amu.c \
- lib/extensions/amu/aarch64/amu_helpers.S
+BL31_SOURCES += ${AMU_SOURCES}
endif
ifeq (${ENABLE_SVE_FOR_NS},1)