summaryrefslogtreecommitdiff
path: root/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Makefile')
-rw-r--r--dts/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/Makefile b/dts/Makefile
index 3fca5f5c2f..f344efe64b 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -12,7 +12,11 @@ ifeq ($(DEVICE_TREE),)
DEVICE_TREE := unset
endif
+ifneq ($(DEV_TREE_BIN),)
+DTB := $(DEV_TREE_BIN)
+else
DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
+endif
$(obj)/dt.dtb: $(DTB) FORCE
$(call if_changed,shipped)