diff options
author | David Bauer <mail@david-bauer.net> | 2018-05-15 19:02:48 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-24 17:24:31 +0200 |
commit | 0411d3f65439af733bda8089e31ce53576f3ce4e (patch) | |
tree | 46016528d06133f96c85e515d21843eab9cae6c3 /include | |
parent | 701a7b1c86a9aa99931ad51f93805bc3970b0acb (diff) | |
download | upstream-0411d3f65439af733bda8089e31ce53576f3ce4e.tar.gz upstream-0411d3f65439af733bda8089e31ce53576f3ce4e.tar.bz2 upstream-0411d3f65439af733bda8089e31ce53576f3ce4e.zip |
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>
(cherry picked from commit 399495a952bf687d9c59226bddf4e73d3b42b30c)
Diffstat (limited to 'include')
-rw-r--r-- | include/image-commands.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index a848655399..82ceacd80e 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 $@ |