#
# 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 <charles@aleph1.co.uk>
#
#
# 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
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