slow module build--what am I doing wrong?
When I modify a source file or two that belong to a particular module, and then rebuild just that module with "make dir1/dir/module.ko" (e.g.), the build system spends a couple of minutes grinding away on "MODPOST" operations. Am I doing something wrong? Is there a way to avoid this? It slows down my build-and-test cycle quite a bit.
Thanks!
Signature · 3 lines
Ben Pfaff [email protected] http://benpfaff.org
Quoted 6 lines · Ben Pfaff
When I modify a source file or two that belong to a particular module, and then rebuild just that module with "make
dir1/dir/module.ko" (e.g.), the build system spends a couple of minutes grinding away on "MODPOST" operations. Am I doing something wrong? Is there a way to avoid this? It slows down my build-and-test cycle quite a bit.
I was privately emailed a suggestion to use "make M=dir1/dir" instead of "make dir1/dir/module.ko". It helps a great deal.
Signature · 3 lines
Ben Pfaff [email protected] http://benpfaff.org