Re: make universe: only kernels, no worlds



on 27/05/2008 05:44 Giorgos Keramidas said the following:
On Mon, 26 May 2008 23:26:19 +0300, Andriy Gapon <avg@xxxxxxxxxxx> 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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • make universe: only kernels, no worlds
    ... 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? ... Andriy Gapon ...
    (freebsd-hackers)
  • Re: make universe: only kernels, no worlds
    ... only for kernels (and kernel tool-chains)? ... emulate that? ... env MAKE_JUST_KERNELS='yes' make universe ...
    (freebsd-hackers)