Date: Tue, 27 Dec 2011 11:40:39 +0100 From: Damien Fleuriot <ml@my.gd> To: freebsd-net@freebsd.org Subject: Re: Compiling only "network" part of the kernel Message-ID: <4EF9A0A7.1000304@my.gd> In-Reply-To: <CA%2BDF=vyFTgr1PfvG0qPo9hv3VmygB9FqiqYqhKs1C26bMzJvmA@mail.gmail.com> References: <CA%2BDF=vyFTgr1PfvG0qPo9hv3VmygB9FqiqYqhKs1C26bMzJvmA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/27/11 7:23 AM, Rajneesh Kumar 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? > You could always use MODULES_OVERRIDE to specify which modules you'd like to build. You'll still be recompiling the kernel itself but without *many* unneeded modules. Find for example a snippet from my /etc/make.conf: KERNCONF=DAM MODULES_OVERRIDE=geom/geom_label geom/geom_mirror aio zfs krpc opensolaris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EF9A0A7.1000304>