Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2008 11:21:20 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: make universe: only kernels, no worlds
Message-ID:  <483BC480.2030302@icyb.net.ua>
In-Reply-To: <87k5hg1n5b.fsf@kobe.laptop>
References:  <483B1CEB.90405@icyb.net.ua> <87k5hg1n5b.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
on 27/05/2008 05:44 Giorgos Keramidas said the following:
> 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:

Thank you! The name is very intuitive, I should have grep-ed for 
something like this :-)

>     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.
> 


-- 
Andriy Gapon



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