Date: Mon, 30 Nov 2015 15:09:49 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Alexnader Kuleshov <kuleshovmail@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Build only changes Message-ID: <20151130120949.GZ31314@zxy.spb.ru> In-Reply-To: <20151130113712.GA10550@localhost> References: <20151130113712.GA10550@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 30, 2015 at 05:37:12PM +0600, Alexnader Kuleshov wrote: > Hello All, > > I'm new in FreeBSD, so my question can be stupid, but I have just executed > `make buildworld` and it was successful. Now I want to do some little changes > for example in one of `usr.sbin` application. How can I recompile only changed > application? If I'm executing `make buildworld` again, I see that there is > new long-long-time compilation of the full base. > > I've started to look into the base's Makefiles and tried to execute: > > make buildworld -j4 -DMK_CDDL=no -DMK_KERBEROS=no -DMK_RESCUE=no -DMK_CRYPT=no > -DMK_TEST=no -DNO_CLEAN=yes -DMK_CLANG_BOOTSTRAP=no -DMK_CLANG=no > > but anyway I see that contrib/llvm/tools/clang/* is compiling. > > Is there ability to compile only one separate dir in the FreeBSD base? May be `make buildworld -DNO_CLEAN` is enough? For some dirs I am do direct build. For other this is not work.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151130120949.GZ31314>