Gary Morrison | 3d7f654 | 2021-01-27 13:08:47 -0600 | [diff] [blame] | 1 | # |
Govindraj Raja | eee28e7 | 2023-08-01 15:52:40 -0500 | [diff] [blame] | 2 | # Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
Gary Morrison | 3d7f654 | 2021-01-27 13:08:47 -0600 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | XLAT_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 | |
| 14 | XLAT_MPU_LIB_V1 := 1 |
| 15 | $(eval $(call add_define,XLAT_MPU_LIB_V1)) |
| 16 | |
| 17 | ifeq (${ALLOW_XLAT_MPU}, 1) |
| 18 | include lib/xlat_mpu_v2/ro_xlat_mpu.mk |
| 19 | endif |