Date: Mon, 30 Nov 2015 08:22:18 -0800 From: Garrett Cooper <yaneurabeya@gmail.com> To: Alexnader Kuleshov <kuleshovmail@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Build only changes Message-ID: <EC43D0A5-70A4-46D5-986A-F467E5F0FBDB@gmail.com> In-Reply-To: <20151130113712.GA10550@localhost> References: <20151130113712.GA10550@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 30, 2015, at 03:37, Alexnader Kuleshov <kuleshovmail@gmail.com> wro= te: >=20 > Hello All, >=20 > 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 chan= ges > for example in one of `usr.sbin` application. How can I recompile only cha= nged > application? If I'm executing `make buildworld` again, I see that there is= > new long-long-time compilation of the full base. >=20 > I've started to look into the base's Makefiles and tried to execute: >=20 > make buildworld -j4 -DMK_CDDL=3Dno -DMK_KERBEROS=3Dno -DMK_RESCUE=3Dno -DM= K_CRYPT=3Dno > -DMK_TEST=3Dno -DNO_CLEAN=3Dyes -DMK_CLANG_BOOTSTRAP=3Dno -DMK_CLANG=3Dno >=20 > but anyway I see that contrib/llvm/tools/clang/* is compiling. >=20 > Is there ability to compile only one separate dir in the FreeBSD base? Alexnader, If you want to compile just one directory using buildworld and your tree= has already been built, use SUBDIR_OVERRIDE=3Dusr.bin/directory -DNO_CLEAN.= Cheers, -NGie=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC43D0A5-70A4-46D5-986A-F467E5F0FBDB>