gemini: Fix up firmware checksum on DIR-685
[openwrt/openwrt.git] / package / system / mtd / src / Makefile
1 CC = gcc
2 CFLAGS += -Wall
3 LDFLAGS += -lubox
4
5 obj = mtd.o jffs2.o crc32.o md5.o
6 obj.seama = seama.o md5.o
7 obj.wrg = wrg.o md5.o
8 obj.wrgg = wrgg.o md5.o
9 obj.tpl = tpl_ramips_recoveryflag.o
10 obj.ar71xx = trx.o $(obj.seama) $(obj.wrgg)
11 obj.gemini = $(obj.wrgg)
12 obj.brcm = trx.o
13 obj.brcm47xx = $(obj.brcm)
14 obj.bcm53xx = $(obj.brcm) $(obj.seama)
15 obj.brcm63xx = imagetag.o
16 obj.ramips = $(obj.seama) $(obj.tpl) $(obj.wrg)
17 obj.mvebu = linksys_bootcount.o
18 obj.kirkwood = linksys_bootcount.o
19 obj.ipq806x = linksys_bootcount.o
20 obj.ipq40xx = linksys_bootcount.o
21
22 ifdef FIS_SUPPORT
23 obj += fis.o
24 endif
25
26 mtd: $(obj) $(obj.$(TARGET))
27 clean:
28 rm -f *.o jffs2