On Mon, Dec 26, 2011 at 22:23, Rajneesh Kumar <iwc2010...@gmail.com> wrote: > During my development, I want to check if my modules compile successfully > or not. I am only changing the ARP portion and whenever I compile my > kernel, it takes around 20mins and compiles all different modules also. > I just want to compile and check whether my ARP modules, which I have > changed, compile fine or not. How to do it?
You need to tell us what process you are using so we can give an example that best fits your existing workflow. There are ways we suggest for users and ways developers use, and it would be a shame to give you irrelevant suggestions. If you're using "make buildkernel" then you can add -DNO_CLEAN (or perhaps it's -DNOCLEAN) to avoid cleaning out the object directory first. This will keep dependencies up-to-date for you, and only rebuild what's necessary. What may be better, if you don't need a cross-compiler, is to do the kernel configuration by hand. So you might do something like: cd /path/to/src/sys/amd64/conf config GENERIC cd ../compile/GENERIC make depend make kernel And then when you make changes you can just do "make kernel". If you make a change that requires rerunning config(8), it will tell you to do "make cleandepend && make depend" or something like that first, to fix header and option dependencies that may not exist with your new configuration. Hopefully one of those two things will help, as anything else you might be doing is probably based on one of those processes, but if not you should let us know what you're doing now. Thanks, Juli. _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"