Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2000 05:27:59 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        leoric@home.com
Cc:        questions@freebsd.org
Subject:   Re: WTF!! Building from source
Message-ID:  <14847.65087.529538.447033@guru.mired.org>
In-Reply-To: <11210943@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
leoric@home.com types:
> I have read things from the FreeBSD webpage, archived mailing list
> posts, and /usr/src/UPDATING. The proper way to build world and build a
> kernel from source is different in each of these.

First, there are two ways to build a kernel from source, and you need
to use different ones in different cases. UPDATING always talks about
rebuilding things with updated sources for everything; if that's what
you're doing, you should follow that one (which is make
buildworld/buildkernel/installkernel/installworld). Without a specific
URL, it's hard to say what "the FreeBSD webpage" is talking about, but
I assume you're talking about the "config/make depend/make install"
(give or take a make) method. That one can be used if you're building
a kernel from sources that are already installed and running. However,
you can also do "buildkernel/installkernel" if you've already done the
full world/kernel/kernel/world dance, and not deleted /usr/obj.

Be warned that some of the things that can be set in /etc/make.conf
can cause the method with config to break, and some can cause the
system to be unbootable until the intallworld is done.

	<mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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