Re: Linux 2.6 kernel module compilation without using KBUILD

From: Sam Ravnborg
Date: Wed Nov 28 2007 - 04:02:39 EST


On Wed, Nov 28, 2007 at 12:09:51AM -0800, murtuja bharmal wrote:
> Hello All,
>
> I want to compile external linux kernel module without
> using KBUILD.
...
> Do we have any document which describe how to make
> kernel module without using KBUILD.

No.
Becasue building kernel modules without using kbuild is highly
discouraged and vulnerable for all sort of config related issues.
As a simple example the module may become unuseable if just one
change is made to the configuration because this changes
the parameters passed to gcc which again affects the code
being built.

Can you try to enlighting why you want to avoid kbuild.
If you have a specific problem then maybe kbuild already can
do what you need.

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/