aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt7621.mk
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/ramips/image/mt7621.mk
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/ramips/image/mt7621.mk')
-rw-r--r--target/linux/ramips/image/mt7621.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 769b86b81b..ceed8ab4f1 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -146,6 +146,7 @@ define Device/wf-2881
FILESYSTEMS := squashfs
IMAGE_SIZE := 129280k
KERNEL := $(KERNEL_DTB) | pad-offset $$(BLOCKSIZE) 64 | uImage lzma
+ UBINIZE_OPTS := -E 5
IMAGE/sysupgrade.bin := append-kernel | append-ubi | check-size $$$$(IMAGE_SIZE)
DEVICE_TITLE := NETIS WF-2881
DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev