openwrtv4/package/mtd/src/Makefile
Gabor Juhos a67d5fd24f package/mtd: add option for fixing seama images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33841
2012-10-18 07:22:59 +00:00

18 lines
289 B
Makefile

CC = gcc
CFLAGS += -Wall
obj = mtd.o jffs2.o crc32.o
obj.seama = seama.o md5.o
obj.ar71xx = trx.o
obj.brcm = trx.o
obj.brcm47xx = $(obj.brcm)
obj.brcm63xx = imagetag.o
obj.ramips = $(obj.seama)
ifdef FIS_SUPPORT
obj += fis.o
endif
mtd: $(obj) $(obj.$(TARGET))
clean:
rm -f *.o jffs2