blob: 041b91c863446d83d8aec0e87e497fbff42afb0a [file] [log] [blame]
Gary Morrison3d7f6542021-01-27 13:08:47 -06001#
2# Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7XLAT_MPU_LIB_V1_SRCS := $(addprefix lib/xlat_mpu/, \
8 ${ARCH}/enable_mpu.S \
9 ${ARCH}/xlat_mpu_arch.c \
10 xlat_mpu_context.c \
11 xlat_mpu_core.c \
12 xlat_mpu_utils.c)
13
14XLAT_MPU_LIB_V1 := 1
15$(eval $(call add_define,XLAT_MPU_LIB_V1))
16
17ifeq (${ALLOW_XLAT_MPU}, 1)
18 include lib/xlat_mpu_v2/ro_xlat_mpu.mk
19endif