lkml.org 
[lkml]   [2006]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Compiling Driver code for 2.6 kernel
From
Date
On Mon, 2006-07-17 at 16:10 +0530, Subbu wrote:
>
> Hi,
>
> Please Help me as i am newbie to 2.6 kernel.
>
> I have My driver code for 2.4.20 kernel(Here i generate .o with 100's
> of .objs linked together).

wow that's a lot; I suspect you're going to want to consolidate that
somewhat when you send your driver for inclusion into the kernel.org
kernel


> I have a main GNUMakefile linked with 10's of individual make files
> w.r.t different directories
>
> i am able to compile my source code and able to link all individual
> modules and generate final module.o (2.6). but i am not sure how to
> genrate .ko from the module.o i have.

see Documentation/kbuild directory, it has many examples on this

but... it sounds like you oversplit your module... do you have a pointer
to the source of it? Maybe I can give some useful suggestions on how to
organize it...

Greetings,
Arjan van de Ven

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

\
 
 \ /
  Last update: 2006-07-17 12:51    [W:0.060 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site