Date: Thu, 28 Oct 2004 13:56:52 +0300 From: Peter Pentchev <roam@ringlet.net> To: Dan Strick <strick@covad.net> Cc: freebsd-hackers@FreeBSD.org Subject: Re: questionable feature in FreeBSD pmake Message-ID: <20041028105652.GC975@straylight.m.ringlet.net> In-Reply-To: <20041028105100.GB975@straylight.m.ringlet.net> References: <200410281023.i9SAN27L001781@mist.nodomain> <20041028105100.GB975@straylight.m.ringlet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--JgQwtEuHJzHdouWu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 28, 2004 at 01:51:00PM +0300, Peter Pentchev wrote: > On Thu, Oct 28, 2004 at 03:23:02AM -0700, Dan Strick wrote: > > I just spent a *very* frustrating hour trying to figure out why the > > FreeBSD make program was invoking all commands to make things in a > > subdirectory named "obj". I eventually discovered this gem in the > > make man page: > [snip] > > .OBJDIR A path to the directory where the targets are built. > [snip] > > 1. ${MAKEOBJDIRPREFIX}/`pwd` > > 2. ${MAKEOBJDIR} > > 3. obj.${MACHINE} > > 4. obj > > 5. /usr/obj/`pwd` > >=20 > > I believe this feature is a real botch because it is magic, unintuitive, > > and so *exceedingly* easy to invoke by mistake. >=20 > Actually, this feature lies at the base of the FreeBSD base system build > infrastructure, and it is pretty much The Feature that allows us to > build from read-only and/or NFS-mounted sources shared among wide swarms > of machines :) Oh, and let's not forget cross-platform builds, too. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If I had finished this sentence, --JgQwtEuHJzHdouWu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBgNB07Ri2jRYZRVMRAuehAJ9tdy5l+vAovQ73grok51BD4LtbuQCdH25/ zloLytOrcAIBTWbxF+Qt14c= =xTkv -----END PGP SIGNATURE----- --JgQwtEuHJzHdouWu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041028105652.GC975>