Re: Linux 2.6 kernel module compilation without using KBUILD

From: murtuja bharmal
Date: Wed Nov 28 2007 - 05:40:46 EST


--- "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> wrote:

> On Wed, 28 Nov 2007, murtuja bharmal wrote:
>
> > 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
>
> you'd probably be better off asking this on the
> kernel newbies list
> rather than the main kernel list. and, as an intro
> to porting 2.4 to
> 2.6 modules, you might want to start here:
>
> http://lwn.net/Articles/driver-porting/
>
> and, as others have suggested, you're probably
> better off just
> figuring out the 2.6 kbuild structure. trying to do
> this manually
> without kbuild is just making this way more
> difficult than it has to
> be.
>
> rday
>
>
========================================================================
> Robert P. J. Day
> Linux Consulting, Training and Annoying Kernel
> Pedantry
> Waterloo, Ontario, CANADA
>
> http://crashcourse.ca
>
========================================================================
>
Hello Robert,

I think I am not very much clear. Let me try to
clarify more.
My intention is not build or port kernel driver
without using KBUILD.
I know about driver porting and Writing makefile using
KBUILD.
I don't have any issue about that.

I just want understand the whole process for clearity
thats it.
unfortunately I didn't get any answer from linux-doc
and linux-admin about this issue.
Let me try to understand KBUILD internal architecture
more by self.

Any Way.
Thanks for your view.
Murtuja Bharmal



____________________________________________________________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
-
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/