Date: Tue, 27 Dec 2011 10:44:01 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: Rajneesh Kumar <iwc2010005@gmail.com>, freebsd-net@freebsd.org Subject: Re: Compiling only "network" part of the kernel Message-ID: <20111227064401.GB4177@procyon.xvoid.org> In-Reply-To: <CAJ-VmomLrSd1Z2kH4mZ6bVdEq0o5ce4txbb4kdPJYgB7ey6yJQ@mail.gmail.com> References: <CA%2BDF=vyFTgr1PfvG0qPo9hv3VmygB9FqiqYqhKs1C26bMzJvmA@mail.gmail.com> <CAJ-VmomLrSd1Z2kH4mZ6bVdEq0o5ce4txbb4kdPJYgB7ey6yJQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 26, 2011 at 10:35:33PM -0800, Adrian Chadd wrote: > On 26 December 2011 22:23, Rajneesh Kumar <iwc2010005@gmail.com> wrote: > > Hi list, > > > > 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? > > Shouldn't just a normal "make" in the kernel config directory only > rebuild those parts that have changed? It also does a lot of cleanup and stuff, which can be skipped using -DKERNFAST (which in turn defines NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}), if you know what you are doing. This is all described in Makefile.inc1. There's also MODULES_OVERRIDE (described in make.conf(5)), and, of course, sys/modules/<yourmodule> :-) Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111227064401.GB4177>