image: append-ubi: add optional UBI subpage size

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

SVN-Revision: 47411
owl
Felix Fietkau 2015-11-07 13:19:35 +00:00
parent bdbd0dce2e
commit 86a46a817b
1 changed files with 2 additions and 1 deletions

View File

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