From 4ebf19b48fafc8d94e14e4ba779969613b241a6a Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 21 Jun 2013 16:54:37 +0000 Subject: packages: clean up the package folder Signed-off-by: John Crispin SVN-Revision: 37007 --- package/system/mtd/src/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/system/mtd/src/Makefile (limited to 'package/system/mtd/src/Makefile') diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile new file mode 100644 index 0000000..4e6aee8 --- /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 -- cgit v1.1