Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 15:42:46 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Alexander Kuleshov <kuleshovmail@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Build only changes
Message-ID:  <20151130134246.GJ3448@kib.kiev.ua>
In-Reply-To: <CANCZXo70X=zfLKHTiMGJRcoSw3UsVXHTxWo3S4TEqU67G5ODrw@mail.gmail.com>
References:  <20151130113712.GA10550@localhost> <20151130120949.GZ31314@zxy.spb.ru> <CANCZXo70X=zfLKHTiMGJRcoSw3UsVXHTxWo3S4TEqU67G5ODrw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 30, 2015 at 06:56:01PM +0600, Alexander Kuleshov wrote:
> Hello Slawa,
> 
> On Mon, Nov 30, 2015 at 6:09 PM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> >
> > May be `make buildworld -DNO_CLEAN` is enough?
> >
> > For some dirs I am do direct build. For other this is not work.
> 
> Thank you for reply, but anyway it's too long to wait. Would great to have
> options for skipping contrib/, usr.bin/ and other non-related to
> changes directories,
> but unfortunately didn't see it in Makefiles.

If you already finished buildworld, it is usually easiest and fastest
to execute make buildenv with the same options as buildworld (I mean
things like TARGET/TARGET_ARCH and similar), then, in the shell prompt,
do
# cd usr.bin/program
# make

I use this when working e.g. on rtld and libc/libthr.  A useful variation
is
# make DEBUG_FLAGS=-g WITHOUT_TESTS=yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151130134246.GJ3448>