Author: nbd
Date: 2015-11-07 14:19:35 +0100 (Sat, 07 Nov 2015)
New Revision: 47411

Modified:
   trunk/include/image.mk
Log:
image: append-ubi: add optional UBI subpage size

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

Modified: trunk/include/image.mk
===================================================================
--- trunk/include/image.mk      2015-11-07 12:52:14 UTC (rev 47410)
+++ trunk/include/image.mk      2015-11-07 13:19:35 UTC (rev 47411)
@@ -384,7 +384,8 @@
                $(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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to