lantiq: Tune the XWAY subtarget cflags
[openwrt/openwrt.git] / package / mtd / src / Makefile
1 CC = gcc
2 CFLAGS += -Wall
3
4 obj = mtd.o jffs2.o crc32.o
5 obj.seama = seama.o md5.o
6 obj.ar71xx = trx.o
7 obj.brcm = trx.o
8 obj.brcm47xx = $(obj.brcm)
9 obj.brcm63xx = imagetag.o
10 obj.ramips = $(obj.seama)
11
12 ifdef FIS_SUPPORT
13 obj += fis.o
14 endif
15
16 mtd: $(obj) $(obj.$(TARGET))
17 clean:
18 rm -f *.o jffs2