Explorar o código

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 <[email protected]>
David Bauer %!s(int64=7) %!d(string=hai) anos
pai
achega
399495a952
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      include/image-commands.mk

+ 4 - 0
include/image-commands.mk

@@ -186,6 +186,10 @@ define Build/append-ubi
 	rm [email protected]
 	rm [email protected]
 endef
 endef
 
 
+define Build/append-uboot
+	dd if=$(UBOOT_PATH) >> $@
+endef
+
 define Build/pad-to
 define Build/pad-to
 	dd if=$@ [email protected] bs=$(1) conv=sync
 	dd if=$@ [email protected] bs=$(1) conv=sync
 	mv [email protected] $@
 	mv [email protected] $@