build: image: add pad-to and pad-rootfs-squashfs helpers
For better reusability. Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user