From owner-freebsd-current@FreeBSD.ORG Sun Jul 31 18:54:40 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B5A316A41F for ; Sun, 31 Jul 2005 18:54:40 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A6E43D48 for ; Sun, 31 Jul 2005 18:54:39 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-1.free.fr (Postfix) with ESMTP id 8D235319EE5; Sun, 31 Jul 2005 20:54:38 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 4ABAE405B; Sun, 31 Jul 2005 20:54:58 +0200 (CEST) Date: Sun, 31 Jul 2005 20:54:58 +0200 From: Jeremie Le Hen To: Kris Kennaway Message-ID: <20050731185458.GT68965@obiwan.tataz.chchile.org> References: <1122658375.50653.3.camel@pyanfar.ece.cmu.edu> <1122659885.50653.7.camel@pyanfar.ece.cmu.edu> <20050729194042.GB17862@xor.obsecurity.org> <864qacg43l.fsf@xps.des.no> <20050730165238.GA83775@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <20050730165238.GA83775@xor.obsecurity.org> User-Agent: Mutt/1.5.9i Cc: Dag-Erling Sm?rgrav , freebsd-current@freebsd.org Subject: Re: here we go again with the weird kernel build errors... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 18:54:40 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello all, > > > AFAIK you have to buildworld first, yes. This builds the bootstrap > > > tools needed to safely build the kernel. > > > > 'make kernel-toolchain' is sufficient preparation for buildkernel. > > Thanks, I knew there was a target for it but couldn't find it > documented in the makefiles. I'm not sure if this is intended to be documented someday, but I added a small description of it to build(7) manual page. Diff is attached. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="build7_kernel-toolchain.diff" Index: share/man/man7/build.7 =================================================================== RCS file: /nfs/obiwan/cvs/src/share/man/man7/build.7,v retrieving revision 1.31 diff -u -r1.31 build.7 --- share/man/man7/build.7 23 Jul 2005 14:23:30 -0000 1.31 +++ share/man/man7/build.7 31 Jul 2005 20:51:35 -0000 @@ -84,6 +84,9 @@ .It Cm installworld Install everything built by .Cm buildworld . +.It Cm kernel-toolchain +Rebuild the tools needed for kernel compilation. Use this if you +did not used buildworld first. .It Cm buildkernel Rebuild the kernel and the kernel modules. .It Cm installkernel --k+w/mQv8wyuph6w0--