Re: slow module build--what am I doing wrong?

2007-01-29 Thread Ben Pfaff
Ben Pfaff <[EMAIL PROTECTED]> 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 
[EMAIL PROTECTED]
http://benpfaff.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: slow module build--what am I doing wrong?

2007-01-29 Thread Ben Pfaff
Ben Pfaff [EMAIL PROTECTED] 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 
[EMAIL PROTECTED]
http://benpfaff.org

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/