summaryrefslogtreecommitdiff
path: root/patch-ker.sh
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-10-04 16:37:44 +1300
committerCharles Manning <cdhmanning@gmail.com>2010-10-04 16:37:44 +1300
commit83b513929e1210d7bf3d40b57f416ddc0881631c (patch)
tree74a4ad75e2f1b3bbf9eaa85b7ffe4115d31f9fb4 /patch-ker.sh
parenta5d0fae6989a94efc39f77f1e8de703c8bcd87a5 (diff)
yaffs: Add more messages to the patch-ker.sh script
Make it more obvious what the differences are between the multi- and single- version varints of the yaffs vfs glue code. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'patch-ker.sh')
-rwxr-xr-xpatch-ker.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/patch-ker.sh b/patch-ker.sh
index 4393e8d..5894087 100755
--- a/patch-ker.sh
+++ b/patch-ker.sh
@@ -56,6 +56,14 @@ if [ $MULTIORSINGLE = m ]; then
VFSGLUE="yaffs_vfs_multi.c"
elif [ $MULTIORSINGLE = s ]; then
VFSGLUE="yaffs_vfs.c"
+ echo ""
+ echo "*** Warning ***"
+ echo "You have chosen to use the single kernel variant of the yaffs VFS glue code"
+ echo "that only works with the latest Linux kernel tree. If you are using an older"
+ echo "version of Linux then you probably wanted to use the multi-version variant by"
+ echo "re-running the patch-ker.sh script using m as a the second argument."
+ echo " ie $0 $COPYORLINK m $LINUXDIR"
+ echo ""
else
echo "unknown multi/single version selection"
usage;
@@ -123,8 +131,8 @@ YAFFSDIR=$LINUXDIR/fs/yaffs2
if [ -e $YAFFSDIR ]
then
- echo "$YAFFSDIR exists, not patching."
- echo "If you want to replace what is already there then delete $YAFFSDIR"
+ echo "$YAFFSDIR exists, so not patching. If you want to replace what is"
+ echo "already there then delete $YAFFSDIR and re-run this script"
echo " eg. \"rm -rf $YAFFSDIR\" "
else
mkdir $LINUXDIR/fs/yaffs2