From aeba0fe466b5e850d0cf0697fc120070230d7831 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Mon, 23 Jan 2017 14:40:10 +0100 Subject: 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 --- include/image-commands.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/image-commands.mk b/include/image-commands.mk index 04fa853fbb..e0f2918a38 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -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) \ -- cgit v1.2.3