]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - dts/Makefile
dts/Makefile: Build the user specified dts
[people/ms/u-boot.git] / dts / Makefile
index 6f36153634b5cb082975d0912d6bbd1256a0f6d8..03e163ef0aecaa9af9ab0812e85a781187dfdb13 100644 (file)
@@ -27,9 +27,11 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)libdts.o
 
+ifeq ($(DEVICE_TREE),)
 $(if $(CONFIG_DEFAULT_DEVICE_TREE),,\
 $(error Please define CONFIG_DEFAULT_DEVICE_TREE in your board header file))
 DEVICE_TREE = $(subst ",,$(CONFIG_DEFAULT_DEVICE_TREE))
+endif
 
 $(if $(CONFIG_ARCH_DEVICE_TREE),,\
 $(error Your architecture does not have device tree support enabled. \