X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=patch-ker.sh;h=ad92e7c4c36ae073db6f8283d8152201e03d62d5;hb=69808485ec796bfa2b4806f91828281eccd0827b;hp=67e7a519487bcf891520ad9f3911990606245c82;hpb=1cbf86620c7070821b8790ae38bd5b578e7125c0;p=yaffs2.git 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