2007-08-20 16:12:24 +00:00
|
|
|
CC = gcc
|
|
|
|
CFLAGS += -Wall
|
2006-06-18 18:03:31 +00:00
|
|
|
|
2008-09-23 09:23:58 +00:00
|
|
|
obj = mtd.o jffs2.o crc32.o
|
2012-10-18 07:22:59 +00:00
|
|
|
obj.seama = seama.o md5.o
|
2013-09-19 22:36:40 +00:00
|
|
|
obj.ar71xx = trx.o $(obj.seama)
|
2008-09-23 09:23:58 +00:00
|
|
|
obj.brcm = trx.o
|
|
|
|
obj.brcm47xx = $(obj.brcm)
|
2010-12-26 04:18:01 +00:00
|
|
|
obj.brcm63xx = imagetag.o
|
2012-10-18 07:22:59 +00:00
|
|
|
obj.ramips = $(obj.seama)
|
2008-09-23 09:23:58 +00:00
|
|
|
|
2009-09-21 09:58:41 +00:00
|
|
|
ifdef FIS_SUPPORT
|
|
|
|
obj += fis.o
|
|
|
|
endif
|
|
|
|
|
2008-09-23 09:23:58 +00:00
|
|
|
mtd: $(obj) $(obj.$(TARGET))
|
2006-06-18 18:03:31 +00:00
|
|
|
clean:
|
2012-10-18 07:22:59 +00:00
|
|
|
rm -f *.o jffs2
|