<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>I've just checked in
a change that allows one to build yaffs2 in one of two ways:</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>If you do this, you
can build yaffs2 as either a loadable module, or an in-kernel
component.</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>2) Out of the kernel
source tree -- this follows the usual module building process for 2.6 kernels
documented in Documentation/kbuild/modules.txt</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=592461022-20092005><FONT face=Arial
size=2>Marty</FONT></SPAN></DIV></BODY></HTML>