Re: [Yaffs] compile yaffs as kernel module ?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] compile yaffs as kernel module ?
On Wednesday 01 June 2011 03:16:05 Steffie Morris wrote:
> Hi, i have a question, is it possible to compile yaffs2 as a kernel module?
> Or can it only be compiled as kernel patch ?
> And if so, how can i do that ?


Yes you can compile yaffs as a kernel module. I do that all the time for
testing yaffs2 in a Ubuntu system.

There is one "wrinkle" to doing this: you need to manually set up a link to
the appropraite yportenv.h version.

$ ln -s yportenv_multi.h yportenv.h
$make

You will of course need all the kernel dev headers etc.

-- Charles