build: move append-file to image-commands.mk
Move it append-file to image-commands.mk so that it can used by other targets as well. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
This commit is contained in:
committed by
Mathias Kresin
parent
99eb6f97e5
commit
aeba0fe466
@@ -110,6 +110,10 @@ define Build/append-rootfs
|
||||
dd if=$(IMAGE_ROOTFS) >> $@
|
||||
endef
|
||||
|
||||
define Build/append-file
|
||||
cat "$(1)" >> "$@"
|
||||
endef
|
||||
|
||||
define Build/append-ubi
|
||||
sh $(TOPDIR)/scripts/ubinize-image.sh \
|
||||
$(if $(UBOOTENV_IN_UBI),--uboot-env) \
|
||||
|
||||
Reference in New Issue
Block a user