From owner-freebsd-questions Sat Jan 12 1:12:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id 6A0D237B404 for ; Sat, 12 Jan 2002 01:12:55 -0800 (PST) Received: (qmail 54227 invoked by uid 100); 12 Jan 2002 09:12:54 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15423.65045.302355.218409@guru.mired.org> Date: Sat, 12 Jan 2002 03:12:53 -0600 To: swear@blarg.net (Gary W. Swearingen) Cc: questions@freebsd.org Subject: Re: have i make the buildworld for any changes in the kernel source files? In-Reply-To: <52660561@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\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.43 (Python 2.2; freebsd-4.4-STABLE-i386) 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 Gary W. Swearingen types: > I don't know the reason that "make kernel" doesn't work (or shouldn't > be done anyway) if you haven't done "make buildworld" or what changes > would require you to redo "make buildworld" before a "make kernel" > (non-kernel src changes, I suppose), but I've seen the requirement > mentioned many places. More specifically, if the build tools have changed in ways that the kernel changes depend on, you have to rebuild the build tools so the kernel build will work properly. That's one of the major differences between "make kernel" and the "config" method - "make kernel" will check for a built object tree, and use *those* tools instead of the tools used by the running system. That makes it possible to build a kernel on a running system even if the tools on that system are incapable of building the kernel. This means you don't have to install a world to find out that the kernel it's in sync with won't boot on your hardware. Does that make sense? http://www.mired.org/home/mwm/ 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