mtd/patches patchin.sh,1.7,1.8
gleixner at infradead.org
gleixner at infradead.org
Tue Nov 26 20:21:30 EST 2002
Update of /home/cvs/mtd/patches
In directory phoenix.infradead.org:/tmp/cvs-serv7238
Modified Files:
patchin.sh
Log Message:
update jffs2 headers for 2.5 too, even if it doesnt compile
Index: patchin.sh
===================================================================
RCS file: /home/cvs/mtd/patches/patchin.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- patchin.sh 27 Nov 2002 00:38:08 -0000 1.7
+++ patchin.sh 27 Nov 2002 01:21:27 -0000 1.8
@@ -96,9 +96,9 @@
TOPDIR=`dirname $THISDIR`
# Check which header files we need depending on kernel version
+HDIR="$TOPDIR/include/linux"
if test $PATCHLEVEL -eq 4
then
- HDIR="$TOPDIR/include/linux"
# 2.4 below 2.4.20 zlib headers are neccecary
if test $SUBLEVEL -lt 20
then
@@ -108,13 +108,13 @@
fi
else
# >= 2.5
- JFFS2_H="$HDIR/jffs2*.h"
+ JFFS2_H="$HDIR/jffs2*.h "
fi
echo Patching $LINUXDIR
echo Include Filesytems: $FILESYSTEMS
echo Zlib-Patch needed: $ZLIBPATCH
-read -n 1 -p "Can we start now ? [y/N]" ANSWER
+read -p "Can we start now ? [y/N]" ANSWER
echo ""
if [ "$ANSWER" != "y" ]
More information about the linux-mtd-cvs
mailing list