Move it to image-commands.mk so that it can used by other targets.
Signed-off-by: Mathias Kresin <dev@kresin.me>
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
xargs echo -ne >> $@
endef
-define Build/append-string
- echo -n $(1) >> $@
-endef
-
define Build/mkwrggimg
$(STAGING_DIR_HOST)/bin/mkwrggimg -b \
-i $@ -o $@.imghdr -d /dev/mtdblock/1 \