[Yaffs] New (restored) feature -- ability to build yaffs2 "out of tree"

Martin Fouts Martin.Fouts at palmsource.com
Tue Sep 20 23:53:42 BST 2005


I've just checked in a change that allows one to build yaffs2 in one of
two ways:
 
1) In the kernel source tree -- by using the patch-ker.sh script to copy
the yaffs2 source into the kernel tree and modify fs/Kconfig and
fs/Makefile to allow yaffs2 to be included as a file system.
 
In this approach, yaffs2 is configured using kconfig in the usual way.
It is a filesystem in "Miscellaneous filesystems" and you can set the
configuration options there.
 
If you do this, you can build yaffs2 as either a loadable module, or an
in-kernel component.
 
2) Out of the kernel source tree -- this follows the usual module
building process for 2.6 kernels documented in
Documentation/kbuild/modules.txt
 
In this approach, yaffs2 is configured by editing moduleconfig.h and
setting configuration flags appropriately.  You may only build yaffs2 as
a loadable module this way, of course.
 
My apologies to the people who tried this in the past couple of days.  I
made a poor first choice at the variable to use to protect
moduleconfig.h and it was being referenced in both in and out cases.
I've fixed that.
 
Marty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aleph1.co.uk/pipermail/yaffs/attachments/20050920/c9c0e2e2/attachment.html


More information about the yaffs mailing list