mtd/patches patchin.sh,1.24,1.25
gleixner at infradead.org
gleixner at infradead.org
Sun Sep 19 08:57:00 EDT 2004
Update of /home/cvs/mtd/patches
In directory phoenix.infradead.org:/tmp/cvs-serv3629
Modified Files:
patchin.sh
Log Message:
fix rslib naming for 2.6
Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- patchin.sh 16 Sep 2004 23:58:57 -0000 1.24
+++ patchin.sh 19 Sep 2004 12:56:57 -0000 1.25
@@ -316,16 +316,21 @@
patch -p1 -i $TOPDIR/lib/Makefile26-rs.diff
patch -p1 -i $TOPDIR/lib/Kconfig-rs.diff
fi
+
mkdir -p lib/reed_solomon
+
fi
-PATCH_DIRS=$RSLIB_DIRS
-PATCH_FILES=$RSLIB_FILES
-patchit;
-
-PATCH_DIRS=$RSLIB_INC_DIR
-PATCH_FILES=$RSLIB_INC
-patchit;
+ PATCH_DIRS=$RSLIB_DIRS
+ PATCH_FILES=$RSLIB_FILES
+ patchit;
+
+ PATCH_DIRS=$RSLIB_INC_DIR
+ PATCH_FILES=$RSLIB_INC
+ patchit;
+ if test $PATCHLEVEL -eq 6
+ mv -f lib/reed_solomon/rslib.c lib/reed_solomon/reed_solomon.c
+ fi
if test $PATCHLEVEL -eq 4
then
More information about the linux-mtd-cvs
mailing list