From: Charles Manning Date: Sun, 14 Oct 2012 22:27:15 +0000 (+1300) Subject: Add a brief README describing how to import core code into Yaffs Direct X-Git-Tag: aleph1-release~67 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=7897f1755180c754d5bca04fd8b5c40702dfe244 Add a brief README describing how to import core code into Yaffs Direct Signed-off-by: Charles Manning --- diff --git a/direct/README.txt b/direct/README.txt new file mode 100644 index 0000000..2884681 --- /dev/null +++ b/direct/README.txt @@ -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 +