summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/image-commands.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 790e9297ca..160b5d8833 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -46,6 +46,14 @@ define Build/append-dtb
cat $@.dtb >> $@
endef
+define Build/install-dtb
+ $(foreach dts,$(DEVICE_DTS), \
+ $(CP) \
+ $(DTS_DIR)/$(dts).dtb \
+ $(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb; \
+ )
+endef
+
define Build/fit
$(TOPDIR)/scripts/mkits.sh \
-D $(DEVICE_NAME) -o $@.its -k $@ \