image: append-ubi: add optional UBI subpage size

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

SVN-Revision: 47411
master
Felix Fietkau 9 years ago
parent bdbd0dce2e
commit 86a46a817b
  1. 3
      include/image.mk

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