Re: git: ce5fa47cf02a - main - share/mk: support for "single" group options

From: Brooks Davis <brooks_at_freebsd.org>
Date: Fri, 01 Sep 2023 17:11:39 UTC
On Fri, Sep 01, 2023 at 04:54:53PM +0000, Brooks Davis wrote:
> The branch main has been updated by brooks:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=ce5fa47cf02ae97844a826d967d122cc8171dd58
> 
> commit ce5fa47cf02ae97844a826d967d122cc8171dd58
> Author:     Brooks Davis <brooks@FreeBSD.org>
> AuthorDate: 2023-09-01 16:41:07 +0000
> Commit:     Brooks Davis <brooks@FreeBSD.org>
> CommitDate: 2023-09-01 16:52:28 +0000
> 
>     share/mk: support for "single" group options
>     
>     Support group options where 1 of n values will be selected (or a default
>     value will be used).  After processing, an OPT_FOO will be set to one
>     value from __FOO_OPTIONS for each FOO in __SINGLE_OPTIONS.  If the user
>     sets FOO that value will be used, otherwise __FOO_DEFAULT will be used.

I eventually plan to follow this up with MULTI support so we can tame
MK_LLVM_TARGET_*, but I need to get back to the downstream malloc work
that motivated this change.

-- Brooks