From 7897f1755180c754d5bca04fd8b5c40702dfe244 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Mon, 15 Oct 2012 11:27:15 +1300 Subject: [PATCH] Add a brief README describing how to import core code into Yaffs Direct Signed-off-by: Charles Manning --- direct/README.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 direct/README.txt 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 + -- 2.30.2