aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/extensions/amu/amu.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/extensions/amu/amu.mk b/lib/extensions/amu/amu.mk
new file mode 100644
index 000000000..b4e04dd47
--- /dev/null
+++ b/lib/extensions/amu/amu.mk
@@ -0,0 +1,8 @@
+#
+# Copyright (c) 2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+AMU_SOURCES := lib/extensions/amu/${ARCH}/amu.c \
+ lib/extensions/amu/${ARCH}/amu_helpers.S