Signed-off-by: Claudio Leite <[email protected]>
---
This patch is necessary for the "kirkwood: revamp Linksys EA3500 & EA4500"
support" patch series submitted on 6 Nov.

 include/image.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index a6ea8e5..fd5e3f4 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,$^) \
                [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
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to