Lines Matching full:makefile
26 # To be a Linux directory, it must have a Makefile
42 # Check if kerneldir contains a Makefile
43 if [ ! -f $LINUXDIR/Makefile ]
50 VERSION=`grep -s VERSION <$LINUXDIR/Makefile | head -n 1 | sed s/'VERSION = '//`
51 PATCHLEVEL=`grep -s PATCHLEVEL <$LINUXDIR/Makefile | head -n 1 | sed s/'PATCHLEVEL = '//`
52 SUBLEVEL=`grep -s SUBLEVEL <$LINUXDIR/Makefile | head -n 1 | sed s/'SUBLEVEL = '//`
66 MAKEFILE=$LINUXDIR/fs/Makefile
67 MAKEFILEOLD=$LINUXDIR/fs/Makefile.pre.yaffs
90 # now do fs/Makefile -- simply add the target at the end
91 echo "Updating $MAKEFILE"
92 cp -f $MAKEFILE $MAKEFILEOLD
93 echo "">>$MAKEFILE
94 echo "# Patched by YAFFS" >>$MAKEFILE
95 echo "obj-\$(CONFIG_YAFFS_FS) += yaffs2/" >>$MAKEFILE
106 cp Makefile.kernel $LINUXDIR/fs/yaffs2/Makefile