]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - dts/Makefile
mkimage: Automatically expand FDT in more cases
[people/ms/u-boot.git] / dts / Makefile
index e59550c9d2e6e06a8fb9f1f729db10358480ff64..f344efe64b83f51eac4c312aa5d8d529147b20c5 100644 (file)
@@ -12,13 +12,14 @@ ifeq ($(DEVICE_TREE),)
 DEVICE_TREE := unset
 endif
 
+ifneq ($(DEV_TREE_BIN),)
+DTB := $(DEV_TREE_BIN)
+else
 DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
-
-quiet_cmd_copy = COPY    $@
-      cmd_copy = cp $< $@
+endif
 
 $(obj)/dt.dtb: $(DTB) FORCE
-       $(call if_changed,copy)
+       $(call if_changed,shipped)
 
 targets += dt.dtb