diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-09-03 11:35:45 +1200 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-09-03 11:35:45 +1200 |
commit | 69808485ec796bfa2b4806f91828281eccd0827b (patch) | |
tree | 3d0339d796f838088e66e73a1799e32f521a8ba5 /patch-ker.sh | |
parent | 1cbf86620c7070821b8790ae38bd5b578e7125c0 (diff) |
yaffs: Better explanation in patch-ker.sh
If the tree already contains yaffs then we don't delete it.
We now give a better explanation of what to do.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'patch-ker.sh')
-rwxr-xr-x | patch-ker.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/patch-ker.sh b/patch-ker.sh index 67e7a51..ad92e7c 100755 --- a/patch-ker.sh +++ b/patch-ker.sh @@ -12,7 +12,8 @@ # # 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 # @@ -111,7 +112,9 @@ YAFFSDIR=$LINUXDIR/fs/yaffs2 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 |