Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 13:10:40 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Bjarne Wichmann Petersen <mekanix@privat.dk>
Cc:        Warner Losh <imp@harmony.village.org>, Dave Tweten <tweten@nas.nasa.gov>, 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>
In-Reply-To: <20011119203957.DFBB25405.fepE.post.tele.dk@there>; from mekanix@privat.dk on Mon, Nov 19, 2001 at 09:40:17PM %2B0100
References:  <20011118234134.H69555@blossom.cjclark.org> <200111191621.fAJGL7773267@harmony.village.org> <20011119120923.Q69555@blossom.cjclark.org> <20011119203957.DFBB25405.fepE.post.tele.dk@there>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011119131040.R69555>