blob: fba2c78d3e4b57874cd22058e9b06ea2a793a20a [file] [log] [blame]
Chris Kay1000ea82021-05-19 19:24:37 +01001#
Boyan Karatotevb2953472024-11-06 14:55:35 +00002# Copyright (c) 2021-2025, Arm Limited. All rights reserved.
Chris Kay1000ea82021-05-19 19:24:37 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Boyan Karatotevb2953472024-11-06 14:55:35 +00007AMU_SOURCES := lib/extensions/amu/${ARCH}/amu.c
Chris Kayf11909f2021-08-19 11:21:52 +01008
9ifneq (${ENABLE_AMU_AUXILIARY_COUNTERS},0)
Andre Przywara0b7f1b02023-03-21 13:53:19 +000010 ifeq (${ENABLE_FEAT_AMU},0)
Boyan Karatotevb2953472024-11-06 14:55:35 +000011 $(error "ENABLE_AMU_AUXILIARY_COUNTERS requires ENABLE_FEAT_AMU")
Chris Kayf11909f2021-08-19 11:21:52 +010012 endif
Chris Kayf11909f2021-08-19 11:21:52 +010013endif