image: allow devices to override the -E 5 ubinize option

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2016-07-13 17:23:00 +02:00
parent e0ed6ec667
commit b8fddb8912
2 changed files with 6 additions and 3 deletions

View File

@@ -105,8 +105,9 @@ define Build/append-ubi
$(if $(KERNEL_IN_UBI),--kernel $(word 1,$^)) \
$(word 2,$^) \
$@.tmp \
-p $(BLOCKSIZE) -m $(PAGESIZE) -E 5 \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE))
-p $(BLOCKSIZE) -m $(PAGESIZE) \
$(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \
$(UBINIZE_OPTS)
cat $@.tmp >> $@
rm $@.tmp
endef