mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 17:20:59 +00:00
c43acdf342
This commit adds the object 'linksys_bootcount_fix.o' to the ipq40xx target. This is needed for the Linksys EA6350v3 device. Without this patch, the device will switch-back between the current and the last flashed firmware every 3 (three) reboots. With this patch, the device works as expected. Signed-off-by: Ryan Pannell <ryan@osukl.com> Signed-off-by: Oever González <notengobattery@gmail.com>
27 lines
573 B
Makefile
27 lines
573 B
Makefile
CC = gcc
|
|
CFLAGS += -Wall
|
|
LDFLAGS += -lubox
|
|
|
|
obj = mtd.o jffs2.o crc32.o md5.o
|
|
obj.seama = seama.o md5.o
|
|
obj.wrg = wrg.o md5.o
|
|
obj.wrgg = wrgg.o md5.o
|
|
obj.ar71xx = trx.o $(obj.seama) $(obj.wrgg)
|
|
obj.brcm = trx.o
|
|
obj.brcm47xx = $(obj.brcm)
|
|
obj.bcm53xx = $(obj.brcm) $(obj.seama)
|
|
obj.brcm63xx = imagetag.o
|
|
obj.ramips = $(obj.seama) $(obj.wrg)
|
|
obj.mvebu = linksys_bootcount.o
|
|
obj.kirkwood = linksys_bootcount.o
|
|
obj.ipq806x = linksys_bootcount.o
|
|
obj.ipq40xx = linksys_bootcount_fix.o
|
|
|
|
ifdef FIS_SUPPORT
|
|
obj += fis.o
|
|
endif
|
|
|
|
mtd: $(obj) $(obj.$(TARGET))
|
|
clean:
|
|
rm -f *.o jffs2
|