mtd: add support for rewriting the fis table layout on redboot based systems
[openwrt/openwrt.git] / package / mtd / src / Makefile
1 CC = gcc
2 CFLAGS += -Wall
3
4 obj = mtd.o jffs2.o crc32.o
5 obj.brcm = trx.o
6 obj.brcm47xx = $(obj.brcm)
7
8 ifdef FIS_SUPPORT
9 obj += fis.o
10 endif
11
12 mtd: $(obj) $(obj.$(TARGET))
13 clean:
14 rm -f *.o jffs2