Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 11:11:54 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        doc@freebsd.org, freebsd-doc@freebsd.org, Murray Stokely <murray.stokely@gmail.com>, re@freebsd.org, Marc Ren? Arns <dienst@marcrenearns.de>
Subject:   Re: make buildkernel fails without complete source tree
Message-ID:  <200701221111.56264.jhb@freebsd.org>
In-Reply-To: <20070121212428.GA47379@rambler-co.ru>
References:  <200701171832.28368.dienst@marcrenearns.de> <474078f80701181348q16ceb16bs40ba45b3d7057b83@mail.gmail.com> <20070121212428.GA47379@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@freebsd.org> wrote:
> > ===================================================================
> > >-      { " sys",                "/usr/src/sys (FreeBSD kernel)",
> > >+      { " sys",                "/usr/src/sys (FreeBSD kernel; requires 
> > >'base'
> > >to build)",
> > 
> > I think this is a good solution.
> > 
> 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".

It is required for buildkernel as otherwise there's no Makefile in /usr/src 
with a buildkernel target.  It's only not required if you do 'config, etc.' 
by hand, but 'make buildkernel' requires some sort of /usr/src/Makefile, 
obviously. :)

-- 
John Baldwin



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