Browse Source

image: append-ubi: add optional UBI subpage size

Signed-off-by: Claudio Leite <[email protected]>

SVN-Revision: 47411
Felix Fietkau 10 years ago
parent
commit
86a46a817b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/image.mk

+ 2 - 1
include/image.mk

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