Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 1999 09:44:35 +0200
From:      Eric MASSON <e-masson@kisoft-services.com>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Building world on another drive
Message-ID:  <37CCD963.FF60C369@kisoft-services.com>
References:  <Pine.BSF.4.10.9908311458440.36410-100000@andrsn.stanford.edu>

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

Depending on shell you use, (csh here)
setenv MAKEOBJDIRPREFIX /usr0/obj
make world

You must set it as environment variable.

Bye

Eric MASSON

Annelise Anderson a écrit :
> 
>         I have two hard drives, each of which has a bootable
> installation of FreeBSD.
> 
>         I have sources on the second hard drive in /usr0/src,
> and would like to do a "make buildworld" in that directory and
> have the obj directory be /usr0/obj.
> 
>         If I edit Makefile.inc0 in /usr0/src and change the line
> 
> MAKEOBJDIRPREFIX?=/usr/obj
> 
> to
> 
> MAKEOBJDIRPREFIX=/usr0/obj
> 
> or
> 
> MAKEOBJDIRPREFIX?=/usr0/obj
> 
> the buildworld writes to /usr/obj/usr0, in fact to /usr/obj/usr0/src.
> 
> So obviously there's something here I don't understand; what should I
> be doing?  and once built in /usr0/obj, how would I do in /usr0/src
> a "make installworld" so the installation gets done on this second
> drive rather than on the first drive?
> 
> I am aware that I can reboot to the second drive and do it that way,
> but I want to do it while FreeBSD is running from the first drive.
> 
> Thanks very much.
> 
>         Annelise
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Any opinions expressed above  | Murphy's Law Corollary :
are my own, not Kisoft's      | Murphy was an optimist.



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?37CCD963.FF60C369>