From: Davide Fioravanti Date: Mon, 11 May 2020 23:20:47 +0000 (+0200) Subject: mtd: add linksys_bootcount for ramips X-Git-Tag: v21.02.0-rc1~2790 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c33ad81373a2c18a4e6ff9a7026e0343f5bb9fc7;p=openwrt%2Fopenwrt.git 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 [add size impact information] Signed-off-by: Adrian Schmutzler --- 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