Subject: Re: Sharing source tree between architectures
To: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
From: Frederick Bruckman <>
List: current-users
Date: 04/18/2000 10:30:32
On Tue, 18 Apr 2000, Thilo Manske wrote:

> I'm trying to share my NetBSD sources between my various architectures
> but I run into problems with make build.
> Here's what I have in my /etc/mk.conf:
> MKOBJ=          yes
> OBJMACHINE=     yes
> BSDSRCDIR=      /usr/src
> BSDOBJDIR=      /usr/src/obj/o
> I can build and install every subtree now (after make obj of course),
> but the top-level makefile gives me headaches.

Having an "obj" directory under the build directory has a special
meaning for "make". It's not obvious that that's the source of your
problem, since there are no sources directly under /usr/src, but you
could rule it out by renaming your object tree /usr/src/o, or anything
but "obj".