projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Clean up test scripts a bit
[yaffs2.git]
/
patch-ker.sh
diff --git
a/patch-ker.sh
b/patch-ker.sh
index ee3cdbc9ad8ce958535850c981b17a95334faa24..ad92e7c4c36ae073db6f8283d8152201e03d62d5 100755
(executable)
--- a/
patch-ker.sh
+++ b/
patch-ker.sh
@@
-2,7
+2,7
@@
#
# YAFFS: Yet another FFS. A NAND-flash specific file system.
#
#
# YAFFS: Yet another FFS. A NAND-flash specific file system.
#
-# Copyright (C) 2002-20
06
Aleph One Ltd.
+# Copyright (C) 2002-20
10
Aleph One Ltd.
#
# Created by Charles Manning <charles@aleph1.co.uk>
#
#
# Created by Charles Manning <charles@aleph1.co.uk>
#
@@
-12,11
+12,11
@@
#
# Patch YAFFS into the kernel
#
#
# Patch YAFFS into the kernel
#
-# args: kpath : Full path to kernel sources to be patched
+# args: l/c : link or copy
+# kpath : Full path to kernel sources to be patched
#
# Somewhat "inspired by" the mtd patchin script
#
#
# Somewhat "inspired by" the mtd patchin script
#
-# $Id: patch-ker.sh,v 1.5 2009-01-22 00:44:46 charles Exp $
VERSION=0
PATCHLEVEL=0
VERSION=0
PATCHLEVEL=0
@@
-112,7
+112,9
@@
YAFFSDIR=$LINUXDIR/fs/yaffs2
if [ -e $YAFFSDIR ]
then
if [ -e $YAFFSDIR ]
then
- echo "$YAFFSDIR exists, not patching"
+ echo "$YAFFSDIR exists, not patching."
+ echo "If you want to replace what is already there then delete $YAFFSDIR"
+ echo " eg. \"rm -rf $YAFFSDIR\" "
else
mkdir $LINUXDIR/fs/yaffs2
$CPY $PWD/Makefile.kernel $LINUXDIR/fs/yaffs2/Makefile
else
mkdir $LINUXDIR/fs/yaffs2
$CPY $PWD/Makefile.kernel $LINUXDIR/fs/yaffs2/Makefile