[PATCH] Add a 'make toolchains' target

Bjoern A. Zeeb bz at FreeBSD.org
Thu Feb 10 16:20:11 UTC 2011


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)
>>> @@ -30,6 +30,7 @@
>>> # 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.


More information about the freebsd-current mailing list