Re: Question on compiling a kernel Module

From: Sam Ravnborg
Date: Sun Sep 17 2006 - 14:20:25 EST


On Fri, Sep 15, 2006 at 03:32:06PM +0530, Madhav Bhamidipati wrote:
> Hello,
>
>
> I have the following source tree, objective is to get a single kernel
> module.ko object.
>
>
> module/
> module/sub-module1
> module/sub-module2
> module/include
> module/objs/
>
>
> module folder has a Makefile, it may or may not have *.c files, it
> invokes sub-* Makefiles
> which build respective objects, these objects need to go into objs
> folder, finally makefile in 'objs'
> builds the module.ko linking all sub-module *.o.
>
> I could not find much information for my requirement in the file
> linux/Documentation/kbuild/makefiles.txt
Please read modules.txt in same dir.

Let me know if you miss info (patchewelcome!).

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/