aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/arm/Makefile')
-rw-r--r--xen/arch/arm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile
index 49b64fe340..da5096a4be 100644
--- a/xen/arch/arm/Makefile
+++ b/xen/arch/arm/Makefile
@@ -28,6 +28,10 @@ obj-y += vtimer.o
ifdef CONFIG_DTB_FILE
obj-y += dtb.o
AFLAGS += -DCONFIG_DTB_FILE=\"$(CONFIG_DTB_FILE)\"
+else
+# XXX: When running on the model there is no bootloader to provide a
+# device tree. It must be linked into Xen.
+$(error CONFIG_DTB_FILE must be set to the absolute filename of a DTB)
endif
ALL_OBJS := head.o $(ALL_OBJS)