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
|
2011-01-05 19:27:55 +00:00
|
|
|
obj.ar71xx = trx.o
|
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
|
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:
|
2007-08-20 16:12:24 +00:00
|
|
|
rm -f *.o jffs2
|