From a608236b1929a912dea67fb2afc92784c4a454e7 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Fri, 13 May 2011 10:12:55 +1200 Subject: [PATCH 1/1] yaffs: Fix patch-ker.sh to handle Kconfigs properly. Thanks to submitters for this. Signed-off-by: Charles Manning --- patch-ker.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patch-ker.sh b/patch-ker.sh index 41c5089..44152c8 100755 --- a/patch-ker.sh +++ b/patch-ker.sh @@ -57,13 +57,13 @@ if [ $MULTIORSINGLE = m ]; then MTD1_CODE="yaffs_mtdif1_multi.c" MTD2_CODE="yaffs_mtdif2_multi.c" YPORTENV="yportenv_multi.h" - KCONFIG="Kconfig_multi" + KCONFIG_SRC="Kconfig_multi" elif [ $MULTIORSINGLE = s ]; then VFS_CODE="yaffs_vfs_single.c" MTD1_CODE="yaffs_mtdif1_single.c" MTD2_CODE="yaffs_mtdif2_single.c" YPORTENV="yportenv_single.h" - KCONFIG="Kconfig_single" + KCONFIG_SRC="Kconfig_single" echo "" echo "*** Warning ***" @@ -144,10 +144,10 @@ then echo "already there then delete $YAFFSDIR and re-run this script" echo " eg. \"rm -rf $YAFFSDIR\" " else - rm yaffs*.mod.c + rm yaffs*.mod.c 2> /dev/null mkdir $LINUXDIR/fs/yaffs2 $CPY $PWD/Makefile.kernel $LINUXDIR/fs/yaffs2/Makefile - $CPY $PWD/$KCONFIG $LINUXDIR/fs/yaffs2/Kconfig + $CPY $PWD/$KCONFIG_SRC $LINUXDIR/fs/yaffs2/Kconfig $CPY $PWD/*.c $PWD/*.h $LINUXDIR/fs/yaffs2 rm $LINUXDIR/fs/yaffs2/yaffs_vfs*.c $LINUXDIR/fs/yaffs2/yaffs_mtdif[12]*.c rm $LINUXDIR/fs/yaffs2/yportenv*.h -- 2.30.2