Compiling single module

Mulyadi Santosa mulyadi.santosa at
Wed Apr 27 12:27:05 EDT 2011

2011/4/27 Tayssir Alkowatly <idoit.ief at>:
> 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

IMHO: (1) compiles (according to config) every modules that belong to
that directory
(2) directly compile that module no matter whether it is chosen or not


Mulyadi Santosa
Freelance Linux trainer and consultant


More information about the Kernelnewbies mailing list