Add a brief README describing how to import core code into Yaffs Direct
authorCharles Manning <cdhmanning@gmail.com>
Sun, 14 Oct 2012 22:27:15 +0000 (11:27 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 14 Oct 2012 22:27:15 +0000 (11:27 +1300)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/README.txt [new file with mode: 0644]

diff --git a/direct/README.txt b/direct/README.txt
new file mode 100644 (file)
index 0000000..2884681
--- /dev/null
@@ -0,0 +1,17 @@
+New Handling for Yaffs Core Code in Yaffs Direct
+
+In the past, the Yaffs core code was joined into the Yaffs direct code by
+means of symbolic links. This had to be changed when some Linux
+kernel-friendly changes were made.
+
+Now, the Yaffs core code needs to be slightly modified before use in Yaffs
+Direct. This is accomplished by a script that copies the code intto the
+Yaffs Direct "workspace" while using sed to modify some of the function 
+names etc. For example, strlen() is changed to yaffs_strlen() to allow these
+functions to be twaeked for use with unicode.
+
+This is accomplished by the script called handle_common.sh.
+
+cd yaffs2/direct
+./handle_common.sh copy
+