]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - dts/Makefile
fdt: Add DEV_TREE_BIN option to specify a device tree binary file
[karo-tx-uboot.git] / dts / Makefile
index 3fca5f5c2f5df968b9b924c97d873a478ca222a7..f344efe64b83f51eac4c312aa5d8d529147b20c5 100644 (file)
@@ -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)