From owner-freebsd-stable@FreeBSD.ORG Tue Sep 26 15:23:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF2E316A4DE for ; Tue, 26 Sep 2006 15:23:58 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a18.dreamhost.com (sd-green-bigip-78.dreamhost.com [208.97.132.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id E120A43DDC for ; Tue, 26 Sep 2006 15:23:44 +0000 (GMT) (envelope-from sean@cyberwang.net) Received: from [10.0.0.30] (68-184-116-29.dhcp.smyr.ga.charter.com [68.184.116.29]) by spunkymail-a18.dreamhost.com (Postfix) with ESMTP id 502DA5B530; Tue, 26 Sep 2006 08:23:42 -0700 (PDT) Message-ID: <451945EC.6040300@cyberwang.net> Date: Tue, 26 Sep 2006 11:23:24 -0400 From: Sean Bryant User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "Gouverneur, Thomas" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "'freebsd-stable@freebsd.org'" , 'Pete French' Subject: Re: Building a kernel with config ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 15:23:59 -0000 Gouverneur, Thomas wrote: > Make buildkernel KERNCONF=CONFIG > Make installkernel KERNCONF=CONFIG > > > This is enough for only compiling kernel and not world and this is the > Smartest way according to FreeBSD handbook. > > -- > Thomas Gouverneur > Junior UNIX Administrator > TI Automotive > > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Pete French > Sent: mardi 26 septembre 2006 12:24 > To: freebsd-stable@freebsd.org > Subject: Building a kernel with config ? > >> On Mon, 25 Sep 2006 11:34:42 -0700, "Kevin Oberman" > wrote: >> 2. Building a kernel with config is not officially supported. It's at >> your risk and may not work in all cases. Build a kernel with: >> cd /usr/src >> make buildkernel > > I was not aware that you wern't supposed to use config anymore - and I > am not convinced that the suggested alternative is actually a replacement > as I thought that buildkernel required you to have built the world first ? > Is this no longer true ? If it *is* true thhen what is the alternative to > using 'config' which should be used if you are on a system where you do > not have the time or the disc space to rebuild the world and simply want > to recompile the kernel ? > > -pete. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Another way you could achieve the same thing is: make kernel KERNCONF=KERNNAME this will combine both steps in to one. Also for those who want to omit the KERNCONF step set KERNCONF in /etc/make.conf and you can omit the KERNCONF argument. Its sometimes nice to keep things really simple.