[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling 2.6 kernel module
On Mon, May 02, 2005 at 01:11:19PM -0700, suren wrote:
> Hi,
> Did anybody tried to build a kernel loadable module on 2.6 kernel?
>
> I am trying to build a single module where the required C files spreads
> across multiple directories(with each subdirectory has a makefile). I am
> not able make a single module out of these multiple directories.
> However, I could build and do insmod if all the C files are in one
> single directory.
>
> If anybody succeeded in building a kernel module with multiple
> directories, Can you please let me know the procedure.
You can not do this. Sorry. Have a pointer to your code to help show
you how you can structure your modules?
thanks,
greg k-h
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/