From owner-svn-src-head@freebsd.org Wed Sep 23 16:37:13 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2215EA063EC for ; Wed, 23 Sep 2015 16:37:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9AB71D53 for ; Wed, 23 Sep 2015 16:37:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qkap81 with SMTP id p81so19514043qka.2 for ; Wed, 23 Sep 2015 09:37:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jok5jcOh2+I3QNdd4WKVXFNWkEn2pVJNLCS720Dl+Do=; b=huOxTBzC8AJ2ZXjMTscO+IMHsJr+QgrO4lsVUnTMZZXCWy41VFSyutq7WgiBdQ8zWg pTW4EwPRuQcAiBEF2GwNOjyGTs8RrGkRzwQ7diaUvdszufpT6/gg8fve1KvzTkMuSroE K8qL/tBdjOgmaTIWVPv0bhltK8BiVwnNDYIAMxjAXmYJCkks9675FXRy0ctLIoK2Dq93 V4UCQwfQr7GtoppWQv+qWKB+N18UjqlLdyEhL86fOqad4r4E9YdbRF1PG/t5WXI3FLzu Qmx+2R9OI6MHq9+OvXUC0HYu4IgL6unpKQXo5Tb2DnH2Q612Yn6mEM/qvTWld6z6bsMf FjQQ== X-Gm-Message-State: ALoCoQmYsE6eHfoa5qRka3Grd96Ma9ve2CKuIjep/RlZqCg2RYgjYIxhHzi3vTTVHQojFMUXEQTr MIME-Version: 1.0 X-Received: by 10.55.198.201 with SMTP id s70mr37338477qkl.42.1443026225618; Wed, 23 Sep 2015 09:37:05 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.140.80.167 with HTTP; Wed, 23 Sep 2015 09:37:05 -0700 (PDT) X-Originating-IP: [40.140.178.190] In-Reply-To: <56022B4C.7070407@FreeBSD.org> References: <201508270152.t7R1qks4074549@repo.freebsd.org> <56022B4C.7070407@FreeBSD.org> Date: Wed, 23 Sep 2015 09:37:05 -0700 X-Google-Sender-Auth: w2kGISzeTXOBkV_A-zNXxn5tKWk Message-ID: Subject: Re: svn commit: r287185 - head/share/mk From: Warner Losh To: Bryan Drewery Cc: Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 16:37:13 -0000 I've been making a pass through the tree and found that FOO.${MK_BAR}+= a b c vs .if ${MK_BAR} != "no" FOO+= a b c .endif simpler to understand. This commit is one small slice of that which I could commit. These files have a high enough churn rate that I'm not always able to keep up enough to push my changes. So this was part of what I could do today to start to reduce my patch-set. This was discussed on arch@freebsd.org a while ago. Warner On Tue, Sep 22, 2015 at 9:32 PM, Bryan Drewery wrote: > On 8/26/15 6:52 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Aug 27 01:52:45 2015 > > New Revision: 287185 > > URL: https://svnweb.freebsd.org/changeset/base/287185 > > > > Log: > > For each FOO in FILESLISTS, append the value of FOO.yes, sort, and > > remove duplicates. > > > > Modified: > > head/share/mk/bsd.files.mk > > > > Modified: head/share/mk/bsd.files.mk > > > ============================================================================== > > --- head/share/mk/bsd.files.mk Thu Aug 27 01:02:01 2015 > (r287184) > > +++ head/share/mk/bsd.files.mk Thu Aug 27 01:52:45 2015 > (r287185) > > @@ -10,6 +10,9 @@ ____: > > FILESGROUPS?= FILES > > > > .for group in ${FILESGROUPS} > > +# Add in foo.yes and remove duplicates from all the groups > > +${${group}}:= ${${group}} ${${group}.yes} > > +${${group}}:= ${${group}:O:u} > > buildfiles: ${${group}} > > .endfor > > > > > > What is this for? > > -- > Regards, > Bryan Drewery >