Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 12:24:46 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, Dimitry Andric <dim@FreeBSD.org>, svn-src-head@FreeBSD.org, "Justin T. Gibbs" <gibbs@scsiguy.com>, Warner Losh <imp@bsdimp.com>
Subject:   Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin
Message-ID:  <1398363886.61646.76.camel@revolution.hippie.lan>
In-Reply-To: <20140424181911.GA43270@stack.nl>
References:  <201403262230.s2QMUdH6021943@svn.freebsd.org> <AA90F6B0-3A7A-473D-82C2-CFDFD263E9AC@gmail.com> <20140327181245.GA69977@stack.nl> <7A86F5E9-DBE9-4D3F-B166-C02F8386B722@FreeBSD.org> <1398086131.1124.371.camel@revolution.hippie.lan> <A3C5D651-D1A4-46AF-900A-6D019AD2D39C@bsdimp.com> <EA0A7D4D-2F55-4372-8825-BE907B127CBA@scsiguy.com> <1398363246.61646.73.camel@revolution.hippie.lan> <20140424181911.GA43270@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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