mtd/util Makefile,1.37,1.38

David Woodhouse dwmw2 at infradead.org
Wed May 5 11:57:33 EDT 2004


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

Modified Files:
	Makefile 
Log Message:
install target


Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/util/Makefile,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- Makefile	5 May 2004 14:48:27 -0000	1.37
+++ Makefile	5 May 2004 15:57:31 -0000	1.38
@@ -2,6 +2,7 @@
 # -*- sh -*-
 
 # $Id$
+PREFIX=/usr/sbin
 
 #CROSS=arm-linux-
 CC := $(CROSS)gcc
@@ -31,3 +32,6 @@
 jffs2dump: jffs2dump.o crc32.o
 	$(CC) $(LDFLAGS) -o $@ $^
 
+install: ${TARGETS}
+	mkdir -p ${DESTDIR}/${PREFIX}
+	for a in ${TARGETS}; do install -m0755 -oroot -groot -s -D $$a ${DESTDIR}/${PREFIX}/$$a; done




More information about the linux-mtd-cvs mailing list