summaryrefslogtreecommitdiffstats
path: root/package/mtd/src/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-20 16:12:24 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-20 16:12:24 +0000
commitc52dd373c6aae88a4640981f5746e7f727367d15 (patch)
tree6f2b435d012cfd371cbc43d5ef159af3c5896bda /package/mtd/src/Makefile
parent4f8894887d1e3569817a0f1972616bee83c43982 (diff)
cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8444 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 99e3ad792..5ab7d7b1e 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