diff options
Diffstat (limited to 'package/system/mtd/src/Makefile')
-rw-r--r-- | package/system/mtd/src/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile new file mode 100644 index 0000000000..4e6aee8eb5 --- /dev/null +++ b/package/system/mtd/src/Makefile @@ -0,0 +1,18 @@ +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 |