From owner-freebsd-questions Fri Nov 9 2:43:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 36D3637B417 for ; Fri, 9 Nov 2001 02:43:50 -0800 (PST) Received: (qmail 50177 invoked by uid 100); 9 Nov 2001 10:43:49 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15339.45925.776090.564800@guru.mired.org> Date: Fri, 9 Nov 2001 04:43:49 -0600 To: Doug Poland Cc: questions@freebsd.org Subject: Re: custom kernel make questions In-Reply-To: <47229969@toto.iv> X-Mailer: VM 6.90 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\ 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 Doug Poland types: > Hi, > > I have a question about the make process concerning custom kernels. > All the documentation I've read outlines the steps: [Two different build methods deleted.] > My question, am I missing the make depend? Is it happening > "under the covers"? I've been doing this on a bunch of machines > for several months now and everything *seems* to work. Since no one else answered the question directly - yes, the "make depend" is done for you "under the covers" when you use the "new" way. I quote new because it would be more correct to call it the "upgrade" way. The old way is the fastest way to build a new kernel for the running system. You're building from the sources that match the running system, but are changing options, or working on a driver, or some such. The "new" way looks for tools in /usr/obj to do the build with, meaning that it's the right thing to use if you're building sources that don't match the running system - after doing a "make buildworld", of course. The downside is that it does the complete song-and-dance to build a kernel, even if some parts of that routine aren't needed in this case. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message