Re: Linux 2.6 kernel module compilation without using KBUILD
From: murtuja bharmal
Date: Wed Nov 28 2007 - 04:53:44 EST
--- Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> 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/
>
Hello Sam,
My intention is to just understand whole
process of making kernel module.
Actually I am working on one project in which I have
to port lots of 2.4 kernel module in 2.6 kernel.
So I thought lets first try to understand, what is
going behind KBUILD.
I also gone through linux/Documentation/kbuild/ but
didn't get very much information.
Even after running it on Verbose Mode, I am not very
much clear.
Thanks
Murtuja Bharmal
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs
-
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/