Subject: Re: Separate build tree?
To: None <tech-toolchain@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-toolchain
Date: 09/17/1999 11:05:39
On Mon, 13 Sep 1999, Hubert Feyrer wrote:
> > Ah, close but backwards.  I'd like the src tree left read-only.
> Well, i think it is, as soon as the obj-dirs are created. 
> I don't think it's possible without them right now.
> You could look at the obj-dir handling in pkgsrc/mk/bsd.pkg.mk, which
> allows object dirs with real read-only sources, i.e. doesn't need the
> obj-dirs/links.

You could also look at how FreeBSD does it.  I think they modified
make to deal with objdirs in a way that doesn't require anything in
the read-only source tree, but it's possible that they just use
Makefile magic.  I think it would be good if we were compatible with
FreeBSD.

--apb (Alan Barrett)