From owner-svn-src-head@FreeBSD.ORG Thu Apr 24 18:24:50 2014 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55EBF3AB; Thu, 24 Apr 2014 18:24:50 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FC411CDE; Thu, 24 Apr 2014 18:24:49 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WdOKH-0008xb-3Y; Thu, 24 Apr 2014 18:24:49 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s3OIOkS5010859; Thu, 24 Apr 2014 12:24:46 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/TSqvxFBBWTM/o0y8lUfvG Subject: Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin From: Ian Lepore To: Jilles Tjoelker In-Reply-To: <20140424181911.GA43270@stack.nl> References: <201403262230.s2QMUdH6021943@svn.freebsd.org> <20140327181245.GA69977@stack.nl> <7A86F5E9-DBE9-4D3F-B166-C02F8386B722@FreeBSD.org> <1398086131.1124.371.camel@revolution.hippie.lan> <1398363246.61646.73.camel@revolution.hippie.lan> <20140424181911.GA43270@stack.nl> Content-Type: text/plain; charset="iso-8859-13" Date: Thu, 24 Apr 2014 12:24:46 -0600 Message-ID: <1398363886.61646.76.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id s3OIOkS5010859 Cc: src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, Dimitry Andric , svn-src-head@FreeBSD.org, "Justin T. Gibbs" , Warner Losh X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 24 Apr 2014 18:24:50 -0000 On Thu, 2014-04-24 at 20:19 +0200, Jilles Tjoelker wrote: > On Thu, Apr 24, 2014 at 12:14:06PM -0600, Ian Lepore wrote: > > On Thu, 2014-04-24 at 11:17 -0600, Justin T. Gibbs wrote: > > > Why wouldn=FFt we fix these with explicit subdir dependencies (e.g: > > > subdira: subdirb)? I=FFm pretty sure I had this working with a hac= ked > > > up bsd.subdir.mk at a previous job, but my memory is hazy. >=20 > > I couldn't think of a way to do that, because the directory itself is= n't > > the dependency. That is, whether one directory has a newer/older > > timestamp than the other isn't a function of the build process. The > > fact that someone else mentioned inserting .WAIT into the list is > > something I took as a confirmation that the regular dependency mechan= ism > > wouldn't work (so maybe I didn't think about it hard enough). >=20 > You can add dependencies between the targets generated by bsd.subdir.mk= : > ${target}_subdir_${subdir}. This will probably be more verbose in the > individual Makefiles than .WAIT, though. >=20 What I was hoping is that we would eventually sprinkle 3 or 4 or 5 strategic .WAITs throughout the source tree and it would all be good. Maybe that's too optimistic. -- Ian