Makefile for a single source file

Bruno Guedes Souto brunoguedes at gmail.com
Sat Sep 13 11:13:43 EDT 2014


Kevin Wilson <wkevils <at> gmail.com> writes:

 
> Is it ok ? or should the obj-m parameter be *different* than the the
> source file (without the *.o suffix)
> (something like obj-m += hello.o ?)
> 
> Regards,
> Kevin
> 

Have you tested it? Test exactly what you are asking and see what happens. 
That's the best way to learn.

Regards

BGS




More information about the Kernelnewbies mailing list