Subject: Re: Problem in new toolchain builds (need comments)
To: Chris Jepeway <email@example.com>
From: James Chacon <firstname.lastname@example.org>
Date: 10/23/2001 19:15:34
One could install their source /src and build without BSDSRCDIR set.
(the only things in the .mk files that care about BSDSRCDIR are the obj
building and checkver in bsd.lib.mk)
It would default to /usr/src and this would never match.
>I hope I haven't missed the point, but
>what about this sorta thing in bsd.own.mk?
> REALBSDSRCDIR!= cd $(BSDSRCDIR) ; pwd # For sym-links
> __INVKDIR= $(.CURDIR)/
> .if $(__INVKDIR:N$(REALBSDSRCDIR)/*) == ""
> USETOOLS?= yes