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 <mail@david-bauer.net>
This commit is contained in:
parent
ce91c85e01
commit
399495a952
|
@ -186,6 +186,10 @@ define Build/append-ubi
|
||||||
rm $@.tmp
|
rm $@.tmp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/append-uboot
|
||||||
|
dd if=$(UBOOT_PATH) >> $@
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/pad-to
|
define Build/pad-to
|
||||||
dd if=$@ of=$@.new bs=$(1) conv=sync
|
dd if=$@ of=$@.new bs=$(1) conv=sync
|
||||||
mv $@.new $@
|
mv $@.new $@
|
||||||
|
|
Loading…
Reference in New Issue