Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 1999 23:57:56 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        andrsn@andrsn.stanford.edu (Annelise Anderson)
Cc:        e-masson@kisoft-services.com (Eric MASSON), freebsd-questions@FreeBSD.ORG
Subject:   Re: Building world on another drive
Message-ID:  <199909020357.XAA02580@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.10.9909011318260.48065-100000@andrsn.stanford.edu> from Annelise Anderson at "Sep 1, 1999 01:20:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Annelise Anderson wrote,
> 
> 
> On Wed, 1 Sep 1999, Eric MASSON wrote:
> 
> > Hi,
> > 
> > Depending on shell you use, (csh here)
> > setenv MAKEOBJDIRPREFIX /usr0/obj
> > make world
> > 
> > You must set it as environment variable.

Not necessarily...

> Thanks, that's working!  I wish I knew why it worked as an
> environmental variable when it doesn't work in the file itself.
> 
> The other part of the question: after it's built, is it possible
> to do a "make installworld" that installs using /usr0 instead of 
> /usr?

'make world', 'make buildworld', and 'make installworld' should all
use MAKEOBJDIRPREFIX.

By the way, I find the following is a much easier way to change the
object directory,

# make "MAKEOBJDIRPREFIX=/usr0/obj" installworld

At the make command line.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909020357.XAA02580>