Thomas De Schampheleire wrote:
On http://opensolaris.org/os/community/on/devref_toc/devref_4/ I read that it
is possible to compile only parts of the kernel using make/dmake directly. This
would speed up compilation in test phases.
However, when I modify a file, for example uts/common/disp/disp.c, and then run
cd uts
dmake common/disp
cd uts/sparc
or
cd uts/intel
and do the dmake there. You can then do a dmake install to see what you
need to grab for testing.
This will rebuild the kernel since disp is part of the kernel.
If you were doing a module such as nfs, you could instead do:
cd uts/intel/nfs
dmake
dmake install
And then install the nfs module.
Look at http://blogs.sun.com/tdh/entry/in_kernel_sharetab_have_a which
has an example for sharefs.
I get: `common/disp/' is up to date.
I did change the file, so it is not anymore up to date. What is the reason for
this, and can I force dmake to compile something?
A second question:
When testing is over and I want to have the full kernel, am I obliged to
compile it as a whole all over again, or can I have a real incremental build.
No-one replied to this thread upto now...
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]
_______________________________________________
opensolaris-help mailing list
[email protected]