Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 08:55:09 +0930
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        Tim Kientzle <tim@kientzle.com>, Rick Macklem <rmacklem@uoguelph.ca>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: -current broken when MAKEOBJDIRPREFIX is set (was: src is on NFS)
Message-ID:  <B1562B35-9B2A-40BA-85C6-A644467CE03D@dons.net.au>
In-Reply-To: <15209.1437332341@chaos>
References:  <1C5FC434-0646-40E5-83AC-A0DE486D3273@dons.net.au> <1589003792.10086361.1437048709012.JavaMail.zimbra@uoguelph.ca> <D0292F78-AE59-4E02-B24F-420129832A47@dons.net.au> <DDD4254F-FD46-4155-8644-2F274AE9AE16@kientzle.com> <BCA54145-46C0-4976-A530-5CCF8B4CAC56@dons.net.au> <6668.1437240399@chaos> <FB13089A-4562-4FCB-ADCD-039A1A2E90E0@dons.net.au> <15209.1437332341@chaos>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 20 Jul 2015, at 04:29, Simon J. Gerraty <sjg@juniper.net> wrote:
> O'Connor, Daniel <darius@dons.net.au> wrote:
>>=20
>> But this did not..
>> make -j 8 buildworld MAKEOBJDIRPREFIX=3D/src/obj-amd64
>=20
> Nor should it.
> There are several makefiles in the tree that expect to be able to=20
> change MAKEOBJDIRPREFIX in the environment of a sub-make.
> When you set it on the command line like that you prevent such changes
> from working.

Ahh.. You learn something new every day :)

>> So, it seems MAKEOBJDIRPREFIX only works as an environmental variable
>=20
> Yes, it has always been documented that way.

Weird, I could have sworn I have set it on the command line and had it =
work, but..

>> - I wonder if there is a way the make system can be changed to warn
>> about that?
>=20
> I thought there was a check in src/Makefile for that.

Not so far as I can tell - it certainly gets quite far before blowing up =
with a non useful error message :)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1562B35-9B2A-40BA-85C6-A644467CE03D>