Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
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)
} :text
_end = . ;
+#ifdef CONFIG_DTB_FILE
/* Section for the device tree blob (if any). */
_sdtb = .;
.dtb : { *(.dtb) } :text
+#endif
/* Sections to be discarded */
/DISCARD/ : {