Subject: Re: MAKEOBJDIR not honored?
To: David Laight <david@l8s.co.uk>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 06/30/2003 12:10:05
Thus spake David Laight ("DL> ") sometime Saturday...
DL> On Tue, Jun 24, 2003 at 11:19:45AM -0400, Steve Bellovin wrote:
DL> > Following the recent discussion about rebuilding the system, I
DL> > added the following lines to /etc/mk.conf:
DL> >
DL> > #ifndef BSD_PKG_MK
DL> > MAKEOBJDIR=/usr/obj
DL> > DESTDIR=/usr/netbsd
DL> > #endif
DL> >
DL> > and ran
DL> >
DL> > PATH=$PATH:/usr/tools/bin ./build.sh -T /usr/tools distribution kernel=CHALLENGER
DL> >
DL> > It all worked, with one notable exception: the .o files are all in /usr/src,
DL> > rather than /usr/obj. I thought that setting MAKEOBJDIR would take
DL> > care of that. (The build did indeed go to /usr/netbsd.) What am I doing
DL> > wrong?
DL>
DL> Use './build.sh -O /usr/obj -D /usr/netbsd ...' and kill the stuff from
DL> /etc/mk.conf. Then it will all work.
The fact that it does not honour mk.conf for this, considering it DOES
honour it for other things, just seems broken to me. Am I the only one?
--*greywolf;
--
NetBSD, stupid.