Compiling single module

Tayssir Alkowatly idoit.ief at
Wed Apr 27 05:44:08 EDT 2011

Hi All

I hope I'm enriching the discussion and not hijacking it

So what is the difference between
1- make M=./drivers/staging/tm6000 modules
2- make ./drivers/staging/tm6000/tm6000.ko

because from (1) I get linking error (ld: no input files), while I get a
module that cannot be inserted (Invalid format, no symbols in module_layout)
from (2) on kernel 2.6.35



2011/4/26 Greg KH <greg at>

> On Tue, Apr 26, 2011 at 05:41:12AM -0700, Ezequiel García wrote:
> > I think maybe this is because I need to enable the module by on config.
> > Am I right?
> Yes.
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list