Compiling Driver code for 2.6 kernel

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

 





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).

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.

  I understand the compilation for 2.6 is different.

  How i can generate .ko which is required for 2.6.

1) Is a simple Makefile changes for 2.4 to 2.6 enough..?? then what needs to done in my GNUmakefile(not the kernel source) 2) Is it required to use kernel source GNUMakefile as given in examples *** 3) Is it o.k to compile individual 'c' files with .obj and linked to module.o

 Please help me in this regards

THanx in advance
Subbu


"SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 conducted by the BUSINESS TODAY - Mercer - TNS India"

                          SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email
-
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