Subject: Re: IMPORTANT: Build System Changes
To: Ian Dall <Ian.Dall@dsto.defence.gov.au>
From: Curt Sampson <email@example.com>
Date: 07/04/1997 08:23:38
The new build system got pulled back out for the moment due to some
problems with odd setups. Given that there's a release approaching
now, it's not going to go back into the main branch until after
that's done, since this sort of thing has the potential to cause
huge amounts of chaos.
However, if you want to use it, it still is publically available.
In ftp://ftp.cynic.net/pub/user/cjs/ you'll find files of the form
newobj-yyyymmdd.tar.gz, which contain new files to untar over that
release or later of NetBSD-current. (The latest one is
newobj-19970616.tar.gz.) So just grab one of those, untar it over
your current source tree, and you're set to go.
I'd love to have any feedback you want to give on this stuff. It's
working quite well for me now, but other people tend to have
different quirks about how they do their builds.
Curt Sampson firstname.lastname@example.org Info at http://www.portal.ca/
Internet Portal Services, Inc. `And malt does more than Milton can
Vancouver, BC (604) 257-9400 To justify God's ways to man.'
On Fri, 4 Jul 1997, Ian Dall wrote:
> Date: Fri, 4 Jul 1997 10:07:53 +0930
> From: Ian Dall <Ian.Dall@dsto.defence.gov.au>
> To: email@example.com
> Cc: current-users@NetBSD.ORG
> Subject: IMPORTANT: Build System Changes
> References: <Pine.NEB.3.96.970526091238.17570Afirstname.lastname@example.org>
> Curt Sampson <email@example.com> writes:
> > Late yesterday evening I committed some patches to the source tree
> > which change slightly the way that NetBSD is built.
> > If you currently build your objects in a separate object tree, add
> > a file called Build.conf in the top level of your source tree or
> > above, and add BSDSRCDIR, BSDOBJDIR, USR_OBJMACHINE (if you use
> > it) and DESTDIR to it, just as you would in a normal makefile or
> > /etc/mk.conf. (If you already have these in /etc/mk.conf, you can
> > just stick with that.)
> I tried this and I can make the options work if they are in
> /etc/mk.conf but not in Build.conf. I could not find a reference to
> Build.conf in the *.mk files. What knows to look for Build.conf? Is is
> compiled into make maybe? I guess I only want these options applying
> when I build netbsd, not when building some random program elsewhere,
> so /etc/mk.conf doesn't seem appropriate.