Commit 7306551f authored by David Vrabel's avatar David Vrabel

arm: move check for CONFIG_DTB_FILE to xen/arch/arm/Makefile

CONFIG_DTB_FILE only needs to be set when building Xen itself.
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
Committed-by: default avatarIan Campbell <Ian.Campbell@citrix.com>
parent 7fe36a85
......@@ -16,9 +16,3 @@ LDFLAGS_DIRECT_Linux = _linux
LDFLAGS_DIRECT += -marmelf$(LDFLAGS_DIRECT_$(XEN_OS))_eabi
CONFIG_LOAD_ADDRESS ?= 0x80000000
# XXX: When running on the model there is no bootloader to provide a
# device tree. It must be linked into Xen.
ifndef CONFIG_DTB_FILE
$(error CONFIG_DTB_FILE must be set to the absolute filename of a DTB)
endif
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment