mtd/patches patchin.sh,1.38,1.39

lavinen at infradead.org lavinen at infradead.org
Tue Mar 1 05:24:42 EST 2005


Update of /home/cvs/mtd/patches
In directory phoenix.infradead.org:/tmp/cvs-serv20067/patches

Modified Files:
	patchin.sh 
Log Message:
Added warning about excluded files (obsole or unneeded) found in kernel dir.


Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- patchin.sh	28 Feb 2005 13:10:13 -0000	1.38
+++ patchin.sh	1 Mar 2005 10:24:38 -0000	1.39
@@ -325,6 +325,8 @@
 			done
 			FILES=$FILELIST
 		    fi
+		    local CRAPLIST=`cd $LINUXDIR/$DIR; ls $EXCLUDE_FILES 2>/dev/null`
+		    [ "$CRAPLIST" != "" ] && echo "Obsolete or unneeded files found in $LINUXDIR/$DIR:" $CRAPLIST
 		fi
 
 		if [ "$BK" = "yes" -a -d $LINUXDIR/$DIR/SCCS ]; then
@@ -352,7 +354,7 @@
 			$LNCP $TOPDIR/$DIR/$SRCFILE $LINUXDIR/$DIR/$FILE
 		done
 		cd $LINUXDIR
-	done	
+	done
 	EXCLUDE_FILES=""
 }
 
@@ -374,7 +376,7 @@
 # MTD - files and directories
 MTD_DIRS="drivers/mtd drivers/mtd/chips drivers/mtd/devices drivers/mtd/maps drivers/mtd/nand include/linux/mtd include/mtd"
 MTD_FILES="*.[ch] Makefile Rules.make"
-MTD_FILES_EX26="mtd_blkdevs-24.c blkmtd-24.c integrator-flash-v24.c"
+MTD_FILES_EX26="mtd_blkdevs-24.c blkmtd-2[45].c integrator-flash-v24.c"
 
 # JFFS2 files and directories
 JFFS2_DIRS="fs/jffs2"





More information about the linux-mtd-cvs mailing list