aboutsummaryrefslogtreecommitdiffstats
path: root/bl2/bl2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bl2/bl2.mk')
-rw-r--r--bl2/bl2.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/bl2/bl2.mk b/bl2/bl2.mk
index 6dc0f1825..735e7e04f 100644
--- a/bl2/bl2.mk
+++ b/bl2/bl2.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -25,6 +25,10 @@ BL2_SOURCES += bl2/${ARCH}/bl2_el3_entrypoint.S \
lib/cpus/${ARCH}/cpu_helpers.S \
lib/cpus/errata_report.c
+ifeq (${DISABLE_MTPMU},1)
+BL2_SOURCES += lib/extensions/mtpmu/${ARCH}/mtpmu.S
+endif
+
ifeq (${ARCH},aarch64)
BL2_SOURCES += lib/cpus/aarch64/dsu_helpers.S
endif