Subject: Re: Problem in new toolchain builds (need comments)
To: Chris Jepeway <jepeway@blasted-heath.com>
From: James Chacon <jchacon@genuity.net>
List: tech-toolchain
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.

James

>
>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
>	.endif
>
>Chris <jepeway@blasted-heath.com>.
>
>
>
>