aboutsummaryrefslogtreecommitdiff
path: root/lib/xlat_mpu/ro_xlat_mpu.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xlat_mpu/ro_xlat_mpu.mk')
-rw-r--r--lib/xlat_mpu/ro_xlat_mpu.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/xlat_mpu/ro_xlat_mpu.mk b/lib/xlat_mpu/ro_xlat_mpu.mk
new file mode 100644
index 000000000..23f1d46b2
--- /dev/null
+++ b/lib/xlat_mpu/ro_xlat_mpu.mk
@@ -0,0 +1,14 @@
+#
+# Copyright (c) 2021, ARM Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+ifeq (${USE_DEBUGFS}, 1)
+ $(error "Debugfs requires functionality from the dynamic translation \
+ library and is incompatible with ALLOW_RO_XLAT_TABLES.")
+endif
+
+ifeq (${ARCH},aarch32)
+ $(error "The xlat_mpu library does not currently support AArch32.")
+endif