From: Felix Fietkau Date: Sun, 31 Jul 2016 17:25:32 +0000 (+0200) Subject: build: add template for installing device .dtb files X-Git-Tag: v17.01.0-rc1~1848 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94dec60d75af4bfe87d51f6b7b05074bc69e40cd;p=thirdparty%2Fopenwrt.git build: add template for installing device .dtb files Signed-off-by: Felix Fietkau --- diff --git a/include/image-commands.mk b/include/image-commands.mk index 790e9297ca6..160b5d88339 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 $@ \