From c52dd373c6aae88a4640981f5746e7f727367d15 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 20 Aug 2007 16:12:24 +0000 Subject: 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 --- package/mtd/src/Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'package/mtd/src/Makefile') 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 -- cgit v1.2.3