From owner-freebsd-questions Sun Feb 2 8:25:14 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 365FF37B401 for ; Sun, 2 Feb 2003 08:25:13 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 4ED6F43E4A for ; Sun, 2 Feb 2003 08:25:12 -0800 (PST) (envelope-from mwm-dated-1044635111.e7b688@mired.org) Received: (qmail 48129 invoked from network); 2 Feb 2003 16:25:11 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 2 Feb 2003 16:25:11 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15933.18023.158009.649583@guru.mired.org> Date: Sun, 2 Feb 2003 10:25:11 -0600 To: Darren Pilgrim Cc: questions@freebsd.org Subject: Re: Why should I use `config;make depend; make...` instead of `make kernel` when building from a stock source tree? (ref. Handbook sec. 9.3) In-Reply-To: <3E3C77F0.6050805@pantherdragon.org> References: <3E3C77F0.6050805@pantherdragon.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <3E3C77F0.6050805@pantherdragon.org>, Darren Pilgrim typed: > There are two sets of commands you can use to build a kernel in FreeBSD: > > "Procedure 1" is the old way: config, make depend, make, make install. > "Procedure 2" is the make kernel sequence from makeworld. > > Section 9.3 of the Handbook says I should use procedure 1 if I haven't > updated my source tree. I can understand then need to use procedure 2 > if I've updated my source tree, but why shouldn't I use it with an > unmodified tree? There's no reason not to use the kernel targets, as already discussed. The kernel targets does one thing different than the old way - it uses tools from /usr/obj if they are there, otherwise it uses the /usr tools. The reason for using the old one is that you may be able to skip some of the steps. In particular, if you're tweaking the sources, you can just do make and make install - no need to go through the config/depend steps. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message