Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2005 20:54:58 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Dag-Erling Sm?rgrav <des@des.no>, freebsd-current@freebsd.org
Subject:   Re: here we go again with the weird kernel build errors...
Message-ID:  <20050731185458.GT68965@obiwan.tataz.chchile.org>
In-Reply-To: <20050730165238.GA83775@xor.obsecurity.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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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