Date: Tue, 27 May 2008 05:44:32 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-hackers@freebsd.org Subject: Re: make universe: only kernels, no worlds Message-ID: <87k5hg1n5b.fsf@kobe.laptop> In-Reply-To: <483B1CEB.90405@icyb.net.ua> (Andriy Gapon's message of "Mon, 26 May 2008 23:26:19 %2B0300") References: <483B1CEB.90405@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 May 2008 23:26:19 +0300, Andriy Gapon <avg@icyb.net.ua> wrote:
> Is there a built-in way to do an equivalent of building universe but
> only for kernels (and kernel tool-chains)? Or some straightforward to
> emulate that?
Yes, there is :)
You can set MAKE_JUST_KERNELS:
env MAKE_JUST_KERNELS='yes' make universe
The tunable is a bit `hidden' in the src/Makefile code, near line 292:
292 universe_${target}:
293 .if !defined(MAKE_JUST_KERNELS)
294 @echo ">> ${target} started on `LC_ALL=C date`"
295 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
296 TARGET=${target} \
297 __MAKE_CONF=/dev/null \
298 > _.${target}.buildworld 2>&1
299 @echo ">> ${target} buildworld completed on `LC_ALL=C date`"
300 .endif
but it's there already.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87k5hg1n5b.fsf>
