Re: [PATCH] Add a 'make toolchains' target

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 10 Feb 2011 16:20:03 +0000 (UTC)
On Thu, 10 Feb 2011, John Baldwin wrote:

> On Thursday, February 10, 2011 8:22:00 am Bjoern A. Zeeb wrote:
>> On Thu, 10 Feb 2011, John Baldwin wrote:
>>
>>> This patch adds a 'make toolchains' target that invokes 'make toolchain' for
>>> each target.  The use case I want it for is a cheaper way to just test kernels
>>> via make tinderbox so I can do:
>>>
>>>  make toolchains
>>>  make MAKE_JUST_KERNELS=yes tinderbox
>>>
>>> It is implemented by adding a new frob to tweak the target that make universe
>>> builds for the world stage of universe (UNIVERSE_TARGET).  If that frob is
>>> set, then the kernel build step for a universe is skipped.  With this, the
>>> toolchains target is a simple wrapper for:
>>>
>>>  make UNIVERSE_TARGET=toolchains universe
>>>
>>> Index: Makefile
>>> ===================================================================
>>> --- Makefile	(revision 218481)
>>> +++ Makefile	(working copy)
>>> _at__at_ -30,6 +30,7 _at__at_
>>> # delete-old-libs     - Delete obsolete libraries.
>>> # targets             - Print a list of supported TARGET/TARGET_ARCH pairs
>>> #                       for world and kernel targets.
>>> +# toolchains          - Build a toolchain for all world and kernel targets.
>>
>> Should also go to build(7).
>
> Patch for this.  It documents the previously undocumented variables for
> 'make universe' and also describes UNIVERSE_TARGET:

Update .Dd when committing.  Looks good.

-- 
Bjoern A. Zeeb                                 You have to have visions!
          Stop bit received. Insert coin for new address family.
Received on Thu Feb 10 2011 - 15:20:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC