Patch to patchin.sh file

Vipin Malik vipin.malik at daniel.com
Tue Jun 26 17:52:24 EDT 2001


Any reason the following patch to the file patches/patchin.sh should not
be applied to the file in CVS?

It adds the JFFS2 dir/file/include stuff to a stock kernel that knows
nothing about it.

Vipin


Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.6
diff -u -r1.6 patchin.sh
--- patchin.sh  2001/04/25 12:10:23     1.6
+++ patchin.sh  2001/06/26 21:40:06
@@ -24,12 +24,16 @@
 #

 mkdir -p drivers/mtd
+rm -rf    drivers/mtd/* # clear out old junk
 mkdir -p drivers/mtd/chips
 mkdir -p drivers/mtd/devices
 mkdir -p drivers/mtd/maps
 mkdir -p drivers/mtd/nand
 mkdir -p include/linux/mtd
 mkdir -p fs/jffs
+rm -rf   fs/jffs/* # clear out old junk
+mkdir -p fs/jffs2
+rm -rf   fs/jffs2/* # clear out old junk
 ln -sf $TOPDIR/drivers/mtd/*.[ch] drivers/mtd
 ln -sf $TOPDIR/drivers/mtd/*akefile $TOPDIR/drivers/mtd/Rules.make
$TOPDIR/drivers/mtd/Config.in drivers/mtd
 ln -sf $TOPDIR/drivers/mtd/chips/*.[ch] drivers/mtd/chips
@@ -42,7 +46,10 @@
 ln -sf $TOPDIR/drivers/mtd/nand/*akefile
$TOPDIR/drivers/mtd/nand/Config.in drivers/mtd/nand
 ln -sf $TOPDIR/fs/jffs/*.[ch] fs/jffs
 ln -sf $TOPDIR/fs/jffs/*akefile fs/jffs
-ln -sf $TOPDIR/include/linux/jffs.h include/linux
+ln -sf $TOPDIR/fs/jffs2/*.[ch] fs/jffs2
+ln -sf $TOPDIR/fs/jffs2/*akefile fs/jffs2
+#ln -sf $TOPDIR/include/linux/jffs.h include/linux
+ln -sf $TOPDIR/include/linux/jffs*.h include/linux
 ln -sf $TOPDIR/include/linux/mtd/*.h include/linux/mtd

 #






More information about the linux-mtd mailing list