X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=include%2Fimage-commands.mk;h=e8549d46f6bc4229a0fec249360a916ead291d5a;hb=b7baaaf782f40bf6a1d017a1f41480b6229a12c9;hp=e156eb60045249900e737878d3cd6da63190b302;hpb=7385f754b1a1562869ddf6a561f70623d626ed6b;p=openwrt%2F.git diff --git a/include/image-commands.mk b/include/image-commands.mk index e156eb6004..e8549d46f6 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -38,6 +38,11 @@ define Build/tplink-safeloader $(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@ endef +define Build/append-dtb + $(if $(DEVICE_DTS_DIR),$(call Image/BuildDTB,$(DEVICE_DTS_DIR)/$(DEVICE_DTS).dts,$(DTS_DIR)/$(DEVICE_DTS).dtb)) + cat $(DTS_DIR)/$(DEVICE_DTS).dtb >> $@ +endef + define Build/fit $(TOPDIR)/scripts/mkits.sh \ -D $(DEVICE_NAME) -o $@.its -k $@ \