summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-12 18:20:50 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-12 18:21:52 +0200
commitd27bce8d28eb129af0abd9c80a7756301b7d588a (patch)
tree8abfae3b1d00dd60a78ab0453ea026ea371974b4 /target/linux/mvebu/image
parentf3747020e202883a43729fc245986f9e36289d6c (diff)
downloadmtk-20170518-d27bce8d28eb129af0abd9c80a7756301b7d588a.zip
mtk-20170518-d27bce8d28eb129af0abd9c80a7756301b7d588a.tar.gz
mtk-20170518-d27bce8d28eb129af0abd9c80a7756301b7d588a.tar.bz2
build: drop UBI EOF marker from images by default
Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mvebu/image')
-rw-r--r--target/linux/mvebu/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 7900fb9..c855cca 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -71,6 +71,7 @@ endef
define Device/UBI-factory
$(Device/UBI)
+ UBINIZE_OPTS := -E 5
IMAGES += factory.img
IMAGE/factory.img := append-kernel $$$$(KERNEL_SIZE) | append-ubi | pad-to $$$$(PAGESIZE)
endef