| Gary Morrison | 5fb061e | 2021-01-27 13:08:47 -0600 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2021, ARM Limited and Contributors. All rights reserved. | ||||
| 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 | ||||