Date: Thu, 10 Feb 2011 16:20:03 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: John Baldwin <jhb@freebsd.org> Cc: Alexander Kabaev <kan@freebsd.org>, FreeBSD current mailing list <current@freebsd.org> Subject: Re: [PATCH] Add a 'make toolchains' target Message-ID: <20110210161918.L80258@maildrop.int.zabbadoz.net> In-Reply-To: <201102101006.10579.jhb@freebsd.org> References: <201102100813.13803.jhb@freebsd.org> <20110210131731.P80258@maildrop.int.zabbadoz.net> <201102101006.10579.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110210161918.L80258>
