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...

Simon J. Gerraty sjg at juniper.net
Mon Jun 15 07:49:17 UTC 2015


Julian Elischer <julian at 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.


More information about the svn-src-all mailing list