image: append-ubi: add optional UBI subpage size

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47411
This commit is contained in:
Felix Fietkau 2015-11-07 13:19:35 +00:00
parent bdbd0dce2e
commit 86a46a817b

View file

@ -384,7 +384,8 @@ define Build/append-ubi
$(if $(KERNEL_IN_UBI),--kernel $(word 1,$^)) \
$(word 2,$^) \
$@.tmp \
-p $(BLOCKSIZE) -m $(PAGESIZE) -E 5
-p $(BLOCKSIZE) -m $(PAGESIZE) -E 5 \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE))
cat $@.tmp >> $@
rm $@.tmp
endef