image: append-ubi: add optional UBI subpage size

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

SVN-Revision: 47411
v19.07.3_mercusys_ac12_duma
Felix Fietkau 9 years ago
parent bdbd0dce2e
commit 86a46a817b

@ -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

Loading…
Cancel
Save