X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=patch-ker.sh;h=ad92e7c4c36ae073db6f8283d8152201e03d62d5;hp=ee3cdbc9ad8ce958535850c981b17a95334faa24;hb=0035e396dc2b872289b8e6320ced59e2eea81962;hpb=a6328592d74d696a9c8fbeb222e69c81e26fa78d diff --git a/patch-ker.sh b/patch-ker.sh index ee3cdbc..ad92e7c 100755 --- a/patch-ker.sh +++ b/patch-ker.sh @@ -2,7 +2,7 @@ # # YAFFS: Yet another FFS. A NAND-flash specific file system. # -# Copyright (C) 2002-2006 Aleph One Ltd. +# Copyright (C) 2002-2010 Aleph One Ltd. # # Created by Charles Manning # @@ -12,11 +12,11 @@ # # 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 # -# $Id: patch-ker.sh,v 1.5 2009-01-22 00:44:46 charles Exp $ VERSION=0 PATCHLEVEL=0 @@ -112,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