Subject: Re: object trees (Re: Problem with make DESTDIR=...)
To: Giles Lean <giles@nemeton.com.au>
From: Curt Sampson <cjs@portal.ca>
List: current-users
Date: 01/09/1997 08:24:38
On Thu, 9 Jan 1997, Giles Lean wrote:

> On Wed, 8 Jan 97 15:56:55 -0700  Christian Kuhtz wrote:
> 
> > I would rather have something more like /usr/obj/arch.release.suffix
> 
> Nah, don't dictate policy.  Just use BSDSRCDIR to find the source and
> BSDOBJDIR to find the obj directory tree, and leave it at that. (*)

Well, that's easy enough anyway if you don't mind a slight re-ordering
of the terms. There's no reason you have to have a / at the end of
BSDOBJDIR; you could set BSDOBJDIR=/usr/obj/1.2B and make
/usr/obj/1.2B.sparc and your sparc build would build to
that.

If you really wanted Christian's syntax, you'd have to change your
BSDOBJDIR for each different build, but then you could just set
BSDOBJDIR=/usr/obj/sparc.1.2B and create /usr/obj/sparc1.2B (and
make sure that /usr/obj/sparc1.2B.sparc doesn't exist) and you're
set.

Personally, I build from checkouts, so /usr1/NetBSD/checkouts/testbed
builds to /usr1/NetBSD/builds/testbed/obj.sparc, for example.

cjs

Curt Sampson    cjs@portal.ca		Info at http://www.portal.ca/
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.