Antonio Nino Diaz | 233c7c1 | 2017-03-08 14:40:23 +0000 | [diff] [blame] | 1 | # |
Petre-Ionut Tudor | e5a6fef | 2019-11-07 15:18:03 +0000 | [diff] [blame] | 2 | # Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved. |
Antonio Nino Diaz | 233c7c1 | 2017-03-08 14:40:23 +0000 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Antonio Nino Diaz | 233c7c1 | 2017-03-08 14:40:23 +0000 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | XLAT_TABLES_LIB_SRCS := $(addprefix lib/xlat_tables_v2/, \ |
Jeenu Viswambharan | 58e8148 | 2018-04-27 15:06:57 +0100 | [diff] [blame] | 8 | ${ARCH}/enable_mmu.S \ |
Antonio Nino Diaz | 233c7c1 | 2017-03-08 14:40:23 +0000 | [diff] [blame] | 9 | ${ARCH}/xlat_tables_arch.c \ |
Antonio Nino Diaz | f1b84f6 | 2018-07-03 11:58:49 +0100 | [diff] [blame] | 10 | xlat_tables_context.c \ |
| 11 | xlat_tables_core.c \ |
| 12 | xlat_tables_utils.c) |
Antonio Nino Diaz | 61aff00 | 2018-10-19 16:52:22 +0100 | [diff] [blame] | 13 | |
| 14 | XLAT_TABLES_LIB_V2 := 1 |
| 15 | $(eval $(call add_define,XLAT_TABLES_LIB_V2)) |
Petre-Ionut Tudor | e5a6fef | 2019-11-07 15:18:03 +0000 | [diff] [blame] | 16 | |
| 17 | ifeq (${ALLOW_RO_XLAT_TABLES}, 1) |
| 18 | include lib/xlat_tables_v2/ro_xlat_tables.mk |
| 19 | endif |