aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Fioravanti <pantanastyle@gmail.com>2020-05-12 01:20:47 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-17 18:43:19 +0200
commitc33ad81373a2c18a4e6ff9a7026e0343f5bb9fc7 (patch)
tree79a1862f6f65fd442b68fb38f07e01690e575e07
parenta4e9c8f14b63cd44300ed452312c03a69aae9ca1 (diff)
downloadupstream-c33ad81373a2c18a4e6ff9a7026e0343f5bb9fc7.tar.gz
upstream-c33ad81373a2c18a4e6ff9a7026e0343f5bb9fc7.tar.bz2
upstream-c33ad81373a2c18a4e6ff9a7026e0343f5bb9fc7.zip
mtd: add linksys_bootcount for ramips
Reset bc is needed for Linksys EA7500 v2's dual boot. Size impact (tested with Linksys EA7500 v2 @ mt7621): mtd_25_mipsel_24kc.ipk: 13174 -> 13628 (454 bytes) initramfs: 3660350 -> 3660688 (338 bytes) Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com> [add size impact information] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--package/system/mtd/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile
index 7f06996e19..e504a04478 100644
--- a/package/system/mtd/src/Makefile
+++ b/package/system/mtd/src/Makefile
@@ -14,7 +14,7 @@ obj.brcm = trx.o
obj.bcm47xx = $(obj.brcm)
obj.bcm53xx = $(obj.brcm) $(obj.seama)
obj.bcm63xx = imagetag.o
-obj.ramips = $(obj.seama) $(obj.tpl) $(obj.wrg)
+obj.ramips = $(obj.seama) $(obj.tpl) $(obj.wrg) linksys_bootcount.o
obj.mvebu = linksys_bootcount.o
obj.kirkwood = linksys_bootcount.o
obj.ipq806x = linksys_bootcount.o