From 97833a57eff148508b1dd1515c51fdb0f8619803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Thu, 28 Mar 2019 14:21:18 +0000 Subject: build: image: add pad-to and pad-rootfs-squashfs helpers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For better reusability. Signed-off-by: Petr Štetiar --- include/image-commands.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/image-commands.mk') diff --git a/include/image-commands.mk b/include/image-commands.mk index 8251a81400..06c084c48b 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -230,8 +230,7 @@ define Build/append-uboot endef define Build/pad-to - dd if=$@ of=$@.new bs=$(1) conv=sync - mv $@.new $@ + $(call Image/pad-to,$@,$(1)) endef define Build/pad-extra -- cgit v1.2.3