LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* slow module build--what am I doing wrong?
@ 2007-01-30 0:22 Ben Pfaff
2007-01-30 2:06 ` Ben Pfaff
0 siblings, 1 reply; 2+ messages in thread
From: Ben Pfaff @ 2007-01-30 0:22 UTC (permalink / raw)
To: linux-kernel
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!
--
Ben Pfaff
blp@cs.stanford.edu
http://benpfaff.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: slow module build--what am I doing wrong?
2007-01-30 0:22 slow module build--what am I doing wrong? Ben Pfaff
@ 2007-01-30 2:06 ` Ben Pfaff
0 siblings, 0 replies; 2+ messages in thread
From: Ben Pfaff @ 2007-01-30 2:06 UTC (permalink / raw)
To: linux-kernel
Ben Pfaff <blp@cs.stanford.edu> writes:
> 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.
--
Ben Pfaff
blp@cs.stanford.edu
http://benpfaff.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-30 2:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-30 0:22 slow module build--what am I doing wrong? Ben Pfaff
2007-01-30 2:06 ` Ben Pfaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).