From owner-freebsd-stable Mon Nov 19 13:12:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 6432237B418 for ; Mon, 19 Nov 2001 13:12:04 -0800 (PST) Received: from dialup-209.245.132.171.dial1.sanjose1.level3.net ([209.245.132.171] helo=blossom.cjclark.org) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 165vhx-0000p1-00; Mon, 19 Nov 2001 13:12:02 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAJLAiN00873; Mon, 19 Nov 2001 13:10:44 -0800 (PST) (envelope-from cjc) Date: Mon, 19 Nov 2001 13:10:40 -0800 From: "Crist J. Clark" To: Bjarne Wichmann Petersen Cc: Warner Losh , Dave Tweten , freebsd-stable@FreeBSD.ORG Subject: Re: Q: Is 'buildkernel' supposed to work? Was: -STABLE buildkernel broke! (linux module) Message-ID: <20011119131040.R69555@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011118234134.H69555@blossom.cjclark.org> <200111191621.fAJGL7773267@harmony.village.org> <20011119120923.Q69555@blossom.cjclark.org> <20011119203957.DFBB25405.fepE.post.tele.dk@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011119203957.DFBB25405.fepE.post.tele.dk@there>; from mekanix@privat.dk on Mon, Nov 19, 2001 at 09:40:17PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 19, 2001 at 09:40:17PM +0100, Bjarne Wichmann Petersen wrote: > On Monday 19 November 2001 21:09, Crist J. Clark wrote: > > > The only people who should now be having problems with this are those > > who "manually" build kernels and don't 'rm -rf /sys/compile/MYKERNEL' > > or 'config -r MYKERNEL' regularly. > > But is the "new" 'make buildkernel KERNCONF=BLABLA' supposed to work? It does work. > The > reason I'm asking is that I used that method for several month until I > started having strange problems. I discovered then that /sys/compile/BLABLA > hadn't been updated since I started using the "new" way. Compiling the old > way, /sys/compile/BLABLA got updated. And recompiling the misbehaving apps > (various DVD-players) they began behaving! > > Is there any reasons why /sys/compile/BLABLA isn't updated with buildkernel? Because it is not used at all. The object and work files for a buildkernel will usually live in /usr/obj/usr/src/sys/BLABLA. > And what is /sys/compile/BLABLA? Is it just for kerneldebugging, or are they > the systems includefiles apps are compiled up against? It's just workspace for the kernel build. It is not used by the operating system in any way. You can safely delete it. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message