Joe Kuan writes: > I did 'nightly -i opensolaris.sh' and it still took a long time to > build the kernel - like 37 mins. It seems to me it shouldn't take that > long for just recompiling a few files and relinking the whole kernel. > > Is there anyway I can make the build faster? As in the future, I need > to constantly modify & rebuild the kernel.
I don't use nightly (or even nightly -i) when doing change / rebuild / test sequences. Instead, I build at most once, and then just descend through the tree to build just the changed modules I need. It's much, much faster than a `nightly' build of any sort. For example, when working on the kernel TCP/IP bits, just do this: cd $SRC/uts/intel/ip dmake CLOSED_IS_PRESENT=no The resulting "debug64/ip" and "debug32/ip" files can be copied to the obvious spots in the test machine's file system. (You can build the "install" target if you're not sure where the changed binaries belong. They'll end up being installed under $ROOT in the right relative directory.) -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code