Subject: Re: objdirs and readonly /usr/src
To: Manuel Bouyer <>
From: Dick Davies <>
List: current-users
Date: 02/21/2004 20:01:48
Manuel Bouyer wrote:
> On Sat, Feb 21, 2004 at 06:38:41PM +0000, Dick Davies wrote:
>>/dev/wd0a on / type ffs (local)
>>kernfs on /kern type kernfs (local)
>>lb.tenfour:/usr/src on /usr/src type nfs (read-only)
>>lb.tenfour:/usr/pkgsrc on /usr/pkgsrc type nfs (read-only)
>>I've just tried a
>>./ -M /usr/obj tools and that seems to be chugging away
>>merrily so I'll see how that goes. Whats the equivalent mk.conf for
>>-M ?
> You can't set this in mk.conf, as the script won't parse it.
> I created small wrappers which calls with the right options for this.

Right, so to put this to rest, this gist is :

-M sets MAKEOBJDIRPREFIX, which doesnt require writes to /usr/src ?