make universe: only kernels, no worlds
Andriy Gapon
avg at icyb.net.ua
Tue May 27 08:21:28 UTC 2008
on 27/05/2008 05:44 Giorgos Keramidas said the following:
> On Mon, 26 May 2008 23:26:19 +0300, Andriy Gapon <avg at 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
More information about the freebsd-hackers
mailing list