Subject: Re: building for multiple archs from a read-only tree
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 03/29/2001 15:47:05
On Thu, 29 Mar 2001, Greg A. Woods wrote:

> So, if "BSDOBJDIR=/var/NetBSD-obj" (for example), and you run "make obj"
> *before* you make your media writable then you can do builds.  The only
> problem is that to make a CD that would work on all architectures you'd
> have to run "make obj" for every MACHINE because there are always some
> directories that are not traversed during "make obj".  Perhaps if all of
> the architecture-dependent makefiles could be taught to ignore
> ${MACHINE} (or treat it as "all") when the target is "obj" then this
> would be easier too.

You don't need to run that from a different machine, BTW. You can set
MACHINE on the make command line just to build the objdirs and the
release notes and such. (Like, "make obj MACHINE=mac68k".)


Frederick