LWN.net Logo

Driver porting: compiling external modules

Driver porting: compiling external modules

Posted Mar 22, 2005 17:40 UTC (Tue) by krash (subscriber, #2689)
Parent article: Driver porting: compiling external modules

To save the uninitiated from pulling too much hair out:

In the example:

obj-m := module.o
module-objs := file1.o file2.o

It might be clearer for it to read something like this:

obj-m := name-of-module.o
name-of-module-objs := file1.o file2.o

to stress that in the original module-objs, module is in fact the name of the module.


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.