mtd/util Makefile,1.31,1.32

gleixner at infradead.org gleixner at infradead.org
Fri May 2 15:18:01 EDT 2003


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv32345

Modified Files:
	Makefile 
Log Message:
fix typo, remove -lz for eraseall

Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/util/Makefile,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- Makefile	30 Apr 2003 15:13:00 -0000	1.31
+++ Makefile	2 May 2003 19:17:58 -0000	1.32
@@ -7,6 +7,8 @@
 CC := $(CROSS)gcc
 CFLAGS += -I../include -O2 -Wall -Wstrict-prototypes -Wshadow
 
+LDFLAGS = -lc
+
 TARGETS = ftl_format erase eraseall nftldump nanddump doc_loadbios \
 nftl_format mkfs.jffs ftl_check mkfs.jffs2 lock unlock \
 einfo mtd_debug fcp nandwrite jffs2dump #jffs2reader
@@ -27,7 +29,7 @@
 	$(CC) $(LDFLAGS) -o $@ $^ -lz
 
 eraseall: crc32.o eraseall.o
-	$(CC) $(LDLAGS) -o $@ $^ -lz
+	$(CC) $(LDFLAGS) -o $@ $^
 
 jffs2reader: jffs2reader.o
 	$(CC) $(LDFLAGS) -o $@ $^ -lz 




More information about the linux-mtd-cvs mailing list