From 9b43d098d892d39f79be7738cff15bbef5979ed8 Mon Sep 17 00:00:00 2001 From: Chris Kay Date: Wed, 19 May 2021 19:24:37 +0100 Subject: 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 --- bl31/bl31.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bl31') 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) -- cgit v1.2.1