Re: Compiling Driver code for 2.6 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux