Re: cvs commit: src/sys/conf kmod.mk

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Fri, 3 Oct 2003 21:05:20 +0300
On Fri, Oct 03, 2003 at 02:00:26PM -0400, Tom Rhodes wrote:
> On Fri, 3 Oct 2003 20:56:01 +0300
> Ruslan Ermilov <ru_at_FreeBSD.org> wrote:
> 
> > On Fri, Oct 03, 2003 at 04:38:19PM +0100, Bruce M Simpson wrote:
> > > On Fri, Oct 03, 2003 at 05:23:20PM +0200, Aurelien Nephtali wrote:
> > > > It breaks the kernel compilation by triggering a "no kernel source tree found"
> > > > error.
> > > > I fixed like this:
> > > 
> > > I concur. I have had to specify SYSDIR= explicitly to fix compilation
> > > of -CURRENT this morning.
> > > 
> > You need to upgrade your make(1) binary first manually, or use
> > this command from within /usr/src with up-to-date tools/regression
> > and usr.bin/make sources:
> > 
> > make buildkernel -DALWAYS_CHECK_MAKE
> 
> Note in UPDATING required?
> 
UPDATING already has the necessary bits in the COMMON ITEMS
section:

        To build a kernel
        -----------------
        If you are updating from a prior version of FreeBSD (even one just
        a few days old), you should follow this procedure. With a
        /usr/obj tree with a fresh buildworld,
        make buildkernel KERNCONF=YOUR_KERNEL_HERE
        make installkernel KERNCONF=YOUR_KERNEL_HERE

I should probably fix it to add -DALWAYS_CHECK_MAKE, or make
the latter the default.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software Ltd,
ru_at_FreeBSD.org		FreeBSD committer

Received on Fri Oct 03 2003 - 11:05:37 UTC