From owner-freebsd-stable@FreeBSD.ORG Sun Feb 12 20:17:21 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B01E216A420 for ; Sun, 12 Feb 2006 20:17:21 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46EF143D45 for ; Sun, 12 Feb 2006 20:17:19 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id k1CKHFOO001380; Sun, 12 Feb 2006 23:17:15 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id k1CKHExo001378; Sun, 12 Feb 2006 23:17:14 +0300 (MSK) (envelope-from yar) Date: Sun, 12 Feb 2006 23:17:13 +0300 From: Yar Tikhiy To: "Z.C.B." Message-ID: <20060212201713.GC85260@comp.chem.msu.su> References: <20060212012910.60994828@vixen42.vulpes> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060212012910.60994828@vixen42.vulpes> User-Agent: Mutt/1.5.9i Cc: freebsd-stable@freebsd.org Subject: Re: questions about building releng_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2006 20:17:21 -0000 On Sun, Feb 12, 2006 at 01:29:10AM -0600, Z.C.B. wrote: > I was just looking at building releng_6 on a releng_5 box. What I am > wondering about is how to specify a location other than /usr/obj and Just set the MAKEOBJDIRPREFIX variable in the environment to the desired path, and the build system will use it instead of /usr/obj. Keep in mind that you cannot set it on the make command line or in make.conf, it must be set in the environment. Also note that you still can use /usr/obj if the RELENG_5 and RELENG_6 sources are at different locations, like /usr/src and /usr/src-6, because the binaries will be built in /usr/obj/usr/src and /usr/obj/usr/src-6, respectively. > once I get it built, how do I do a install to a different path. Just set DESTDIR (can be either an environment or make variable) to the destination path. > The 6.0 release has a bit of a problem booting on the board I have and > was just looking at trying out releng_6 and seeing how it would go. Note here that in order to get a new functional 6.x system while keeping your 5.x system, you'll have to install 6.x to a free slice or disk labelled, newfs'd, and mounted, e.g., under /mnt. Unlike with some other operating systems, you cannot easily have several working FreeBSD installations in the same file tree: each FreeBSD installation needs a tree of its own: /, /boot, /etc, /bin, /usr, and all that. -- Yar