From ffdce856e0c05616a033470f358b12ab0db8fde0 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 17 Dec 2018 21:47:16 +0100 Subject: build: move append-string to image-commands.mk Move it to image-commands.mk so that it can used by other targets. Signed-off-by: Mathias Kresin --- 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 63539bad08..49138a216d 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -102,6 +102,10 @@ define Build/append-squashfs-fakeroot-be cat $@.fakesquashfs >> $@ endef +define Build/append-string + echo -n $(1) >> $@ +endef + # append a fake/empty uImage header, to fool bootloaders rootfs integrity check # for example define Build/append-uImage-fakehdr -- cgit v1.2.3