From: Felix Fietkau Date: Sat, 7 Nov 2015 13:19:35 +0000 (+0000) Subject: image: append-ubi: add optional UBI subpage size X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86a46a817ba7cfab4963818f9c97508f1f835762;p=openwrt%2Fstaging%2Fneocturne.git image: append-ubi: add optional UBI subpage size Signed-off-by: Claudio Leite SVN-Revision: 47411 --- diff --git a/include/image.mk b/include/image.mk index a6ea8e5452..fd5e3f4b62 100644 --- a/include/image.mk +++ b/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