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