Add a symlink option to the patching script
[yaffs2.git] / README-linux-patch
index 6022358187180603bbdf22b88e968eaacc9ba652..b38de80fee6f7f3103aa270a430111c6d162a747 100644 (file)
@@ -1,11 +1,16 @@
 To build YAFFS in the Linux kernel tree you need to run the patch-ker.sh
 To build YAFFS in the Linux kernel tree you need to run the patch-ker.sh
-script, giving the path to your kernel sources, e.g:
+script from the yaffs soiurce directory, giving your chouce as to whether
+you wish to copy or link the code and the path to your kernel sources, e.g:
 
 
-./patch-ker.sh /usr/src/linux
+./patch-ker.sh /usr/src/linux
 
 This will copy the yaffs files into fs/yaffs2 and modify the Kconfig
 and Makefiles in the fs directory.
 
 
 This will copy the yaffs files into fs/yaffs2 and modify the Kconfig
 and Makefiles in the fs directory.
 
+./patch-ker.sh l /usr/src/linux
+
+This does the same as the above but makes symbolic links instead.
+
 After you've run the script, go back to your normal kernel making procedure
 and configure the yaffs settings you want.
 
 After you've run the script, go back to your normal kernel making procedure
 and configure the yaffs settings you want.