From: David Bauer Date: Tue, 15 May 2018 17:02:48 +0000 (+0200) Subject: build: add apend-uboot command X-Git-Tag: v19.07.0-rc1~3666 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=399495a952bf687d9c59226bddf4e73d3b42b30c;p=oweals%2Fopenwrt.git build: add apend-uboot command This commit adds an append-uboot command to append U-Boot from the bin-directory. Signed-off-by: David Bauer --- diff --git a/include/image-commands.mk b/include/image-commands.mk index e0322080e9..395e31f994 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -186,6 +186,10 @@ define Build/append-ubi rm $@.tmp endef +define Build/append-uboot + dd if=$(UBOOT_PATH) >> $@ +endef + define Build/pad-to dd if=$@ of=$@.new bs=$(1) conv=sync mv $@.new $@