aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/image/Makefile
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/Makefile
parentf3747020e202883a43729fc245986f9e36289d6c (diff)
downloadupstream-d27bce8d28eb129af0abd9c80a7756301b7d588a.tar.gz
upstream-d27bce8d28eb129af0abd9c80a7756301b7d588a.tar.bz2
upstream-d27bce8d28eb129af0abd9c80a7756301b7d588a.zip
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/Makefile')
-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 7900fb9ddb..c855cca42c 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