Building kernel module from multiple source file in 2.6 kernel
i am working on 2.6 kernel (driver programming).
actually i am not able to understand what the makefile for 2.6 is doing when its compiling....
its accessing source path of running kernel.....
but that makefile is working fine for one source file
now if i have multiple source files , and i want a module, build from all of them...
how do i do this?
each file should be compiled to produce .o file then all must be linked to produce the final module....
help me in this matter....
one more question - if anyone knows command replacement for the makefile to compile the module?
|All times are GMT -5. The time now is 08:14 AM.|