mtd: add linksys_bootcount for ramips
[openwrt/openwrt.git] / package / system / mtd / src / Makefile
index 1e02ce94ee25b10e0a7f9e072af8aa3386bc083f..e504a044789d6ab601cc61f38656d521d44ce8b9 100644 (file)
@@ -4,14 +4,21 @@ LDFLAGS += -lubox
 
 obj = mtd.o jffs2.o crc32.o md5.o
 obj.seama = seama.o md5.o
-obj.ar71xx = trx.o $(obj.seama)
+obj.wrg = wrg.o md5.o
+obj.wrgg = wrgg.o md5.o
+obj.tpl = tpl_ramips_recoveryflag.o
+obj.ar71xx = trx.o $(obj.seama) $(obj.wrgg)
+obj.ath79 = $(obj.seama)
+obj.gemini = $(obj.wrgg)
 obj.brcm = trx.o
-obj.brcm47xx = $(obj.brcm)
-obj.bcm53xx = $(obj.brcm)
-obj.brcm63xx = imagetag.o
-obj.ramips = $(obj.seama)
+obj.bcm47xx = $(obj.brcm)
+obj.bcm53xx = $(obj.brcm) $(obj.seama)
+obj.bcm63xx = imagetag.o
+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
+obj.ipq40xx = linksys_bootcount.o
 
 ifdef FIS_SUPPORT
   obj += fis.o