summaryrefslogtreecommitdiff
path: root/package/mtd/src/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-20 16:12:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-20 16:12:24 +0000
commita91350732c308c2f0ea6a73d55b2a3a13771e1c1 (patch)
treef6948c69bb0fc3ae76d98ee217ef2585fd71d381 /package/mtd/src/Makefile
parent5307d511aa974d2aaca2e7f6402d683077283d84 (diff)
downloadmtk-20170518-a91350732c308c2f0ea6a73d55b2a3a13771e1c1.zip
mtk-20170518-a91350732c308c2f0ea6a73d55b2a3a13771e1c1.tar.gz
mtk-20170518-a91350732c308c2f0ea6a73d55b2a3a13771e1c1.tar.bz2
cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
SVN-Revision: 8444
Diffstat (limited to 'package/mtd/src/Makefile')
-rw-r--r--package/mtd/src/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile
index 99e3ad7..5ab7d7b 100644
--- a/package/mtd/src/Makefile
+++ b/package/mtd/src/Makefile
@@ -1,12 +1,6 @@
-# $Id$
-
-all: mtd
-
-%.o: %.c
- $(CC) -I. $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
-
-mtd: mtd.o
- $(CC) -o $@ $^
+CC = gcc
+CFLAGS += -Wall
+mtd: mtd.o jffs2.o crc32.o
clean:
- rm -f *.o mtd
+ rm -f *.o jffs2