|
|
Subscribe / Log in / New account

Driver porting: compiling external modules

Driver porting: compiling external modules

Posted Mar 22, 2005 17:40 UTC (Tue) by krash (guest, #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.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds