Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2015 00:33:39 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Craig Rodrigues <rodrigc@freebsd.org>, Adrian Chadd <adrian@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r284345 - in head: . bin/cat bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/expr bin/freebsd-version bin/getfacl bin/hostname bi...
Message-ID:  <3687.1434353619@chaos>
In-Reply-To: <557E54D5.7080004@freebsd.org>
References:  <201506131920.t5DJKwMH033508@svn.freebsd.org> <E1583BE3-F407-4590-85F1-EAD9B6B7FED5@FreeBSD.org> <24490.1434318198@chaos> <CAJ-Vmo=D983y_0-X7ubf0Z4Q9iTq6dRDKyQqVFdx37soEj-DQQ@mail.gmail.com> <CAG=rPVfR6s8cfUQROkSgm0dTApL2vaJJ4%2B%2BLgLyerVdQLDj22A@mail.gmail.com> <557E54D5.7080004@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@freebsd.org> wrote:
> I think a make MAKE_MAKEFILE_DEPENDS=1 (build)world is an important step
> requirement..

You can do 'make buildwork -DWITH_META_FILES' and it will produce meta
files - they can be very handy for debugging issues - like headers
comming from places you didn't expect.

My original plan was in fact to do just what you suggest -  to use that
for seeding the dependencies. 
That's what we did with the Junos build and it was very painless,
but it already worked the way we wanted it to (visiting leaf dirs once
only, and in the correct order).

Buildworld works nothing like that, so I soon gave up on trying to extract
useful tree dependencies from it.

It is theoretically possble to add enough filtering to extract useful
results from it, but it is far easier to just use the meta mode build to
update itself.
Which is what I've been doing on the projects/bmake branch for the last
few years.



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