From owner-freebsd-hackers Fri Apr 9 15: 7:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 4F70F16005 for ; Fri, 9 Apr 1999 14:57:53 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id LAA21161; Fri, 9 Apr 1999 11:07:49 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id LAA67608; Fri, 9 Apr 1999 11:07:49 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Fri, 9 Apr 1999 11:07:49 -0700 (PDT) Message-Id: <199904091807.LAA67608@vashon.polstra.com> To: antuan@eltex.ru Subject: Re: none In-Reply-To: Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Antuan Avdioukhine wrote: > Can anyone guide me how to organize environment for building kernels > for mixed FreeBSD version on single machine? I'd tried to do such thing on > 3.0-RELEASE machine for 2.2.6 version, but it failed. On a 3.1-stable machine here, I regularly build both worlds and kernels for 2.2.8 machines. Here are the tricks: Assuming that "$SRC" is the top-level "src" directory of your 2.2.x source tree ... 1. Use "make -m $SRC/share/mk" so that make uses the 2.2.x versions of the *.mk files. 2. When configuring kernels, use the 2.2.x version of /sbin/config that you've built. (Find it in the obj tree.) John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message