Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2015 17:22:23 -0800
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Julian Elischer <julian@freebsd.org>
Cc:        "freebsd-arch@freebsd.org" <arch@freebsd.org>
Subject:   Re: Better way to do conditional inclusion in make
Message-ID:  <6819.1423185743@chaos>
In-Reply-To: <54D40DC4.9070907@freebsd.org>
References:  <39C20BA1-E6B1-4DAE-95BB-8011A0A64D54@bsdimp.com> <54D40DC4.9070907@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@freebsd.org> wrote:
> how does it cope with the case where a single file is dependent on
> either of two options.
> (we have this in our tree.. not sure if it occurs in the FreeBSD tree.)
> file could occur in both lists or twice in one list..

If you accept the premise that order of the list shouldn't matter,
one can simply apply :O:u to suppress dups.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6819.1423185743>