From owner-freebsd-doc@FreeBSD.ORG Mon Jan 22 18:37:39 2007 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4985A16A402 for ; Mon, 22 Jan 2007 18:37:39 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from opus.cse.buffalo.edu (opus.cse.Buffalo.EDU [128.205.32.4]) by mx1.freebsd.org (Postfix) with ESMTP id E752C13C442 for ; Mon, 22 Jan 2007 18:37:38 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [127.0.0.1] (localhost.cse.buffalo.edu [127.0.0.1]) by opus.cse.buffalo.edu (8.13.8/8.12.4) with ESMTP id l0MIHCmV012830; Mon, 22 Jan 2007 13:17:12 -0500 (EST) From: Ken Smith To: John Baldwin In-Reply-To: <200701221111.56264.jhb@freebsd.org> References: <200701171832.28368.dienst@marcrenearns.de> <474078f80701181348q16ceb16bs40ba45b3d7057b83@mail.gmail.com> <20070121212428.GA47379@rambler-co.ru> <200701221111.56264.jhb@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yOaw9K8bikyabgk0aQv4" Organization: U. Buffalo CSE Department Date: Mon, 22 Jan 2007 13:17:12 -0500 Message-Id: <1169489832.11889.64.camel@opus.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Cc: re@freebsd.org, freebsd-doc@freebsd.org, Murray Stokely , Ruslan Ermilov , doc@freebsd.org, Marc Ren? Arns Subject: Re: make buildkernel fails without complete source tree X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 18:37:39 -0000 --=-yOaw9K8bikyabgk0aQv4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-01-22 at 11:11 -0500, John Baldwin wrote: > On Sunday 21 January 2007 16:24, Ruslan Ermilov wrote: > > On Thu, Jan 18, 2007 at 01:48:14PM -0800, Murray Stokely wrote: > > > On 1/18/07, John Baldwin wrote: > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > >- { " sys", "/usr/src/sys (FreeBSD kernel)", > > > >+ { " sys", "/usr/src/sys (FreeBSD kernel; requi= res=20 > > > >'base' > > > >to build)", > > >=20 > > > I think this is a good solution. > > >=20 > > I don't think this is a good idea as it's not actually required. > > The sys/ part have traditionally been standalone. And if you're > > not upgrading then "buildkernel" is just a convenience alias for > > config/make method. Actually this method is always used except > > that in the buildkernel case it will use an upgraded toolchain > > if it was previously built by "buildworld". >=20 > It is required for buildkernel as otherwise there's no Makefile in /usr/s= rc=20 > with a buildkernel target. It's only not required if you do 'config, etc= .'=20 > by hand, but 'make buildkernel' requires some sort of /usr/src/Makefile,=20 > obviously. :) I think that's what Ruslan meant by it having "traditionally been standalone". By tradition someone who just extracted the sys stuff wasn't expecting to do 'make buildkernel', they expected to do the 'config, etc'. For example someone who wanted to build custom kernels but had no intention of updating the machine using the source tree, and they knew how to build the kernels manually. The truth is the message should read "(FreeBSD kernel; requires 'base' to build if you insist on using 'make buildkernel' in /usr/src to build a kernel but if you know how to build a kernel 'manually' then 'base' is not required)". But I don't think that fits in 80 columns... :-) The message as proposed above also begs the question "So why have sys as a separate thing if all you can do is look at it?. That's not true but it is what the message suggests. --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-yOaw9K8bikyabgk0aQv4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFtP+o/G14VSmup/YRAsleAJ4k4faT+L7d6qK0TbIOL9dVlhueSwCfY20g RuoggeRsBxaPPAJo6ui455U= =YTZD -----END PGP SIGNATURE----- --=-yOaw9K8bikyabgk0aQv4--