Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2018 12:52:13 +0000
From:      Edward Napierala <trasz@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Ian Lepore <ian@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r341344 - head/share/man/man7
Message-ID:  <CAFLM3-obr0%2Btc-sqv9-HAUgPwqt8T4L72qSaWNHDOu4v%2BTCfKQ@mail.gmail.com>
In-Reply-To: <9ac1300e-3e8a-1151-dd8d-3a980bd6cae8@FreeBSD.org>
References:  <201811301601.wAUG1h3F065286@repo.freebsd.org> <1543599431.1860.161.camel@freebsd.org> <9ac1300e-3e8a-1151-dd8d-3a980bd6cae8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
pt., 30 lis 2018 o 17:47 John Baldwin <jhb@freebsd.org> napisa=C5=82(a):
>
> On 11/30/18 9:37 AM, Ian Lepore wrote:
> > On Fri, 2018-11-30 at 16:01 +0000, Edward Tomasz Napierala wrote:
> >> Author: trasz
> >> Date: Fri Nov 30 16:01:43 2018
> >> New Revision: 341344
> >> URL: https://svnweb.freebsd.org/changeset/base/341344
> >>
> >> Log:
> >>   Add an example of quick kernel rebuild.
> >>
> >>   MFC after: 2 weeks
> >>   Sponsored by:      DARPA, AFRL
> >>
> >> Modified:
> >>   head/share/man/man7/development.7
> >>
> >> Modified: head/share/man/man7/development.7
> >> =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=3D=3D
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> --- head/share/man/man7/development.7        Fri Nov 30 15:56:14 2018
> >>      (r341343)
> >> +++ head/share/man/man7/development.7        Fri Nov 30 16:01:43 2018
> >>      (r341344)
> >> @@ -127,6 +127,14 @@ case
> >>  cd src/bin/ls
> >>  make clean all install
> >>  .Ed
> >> +.Pp
> >> +Quickly rebuild and reinstall the kernel, only recompiling the files
> >> +changed since last build; note that this will only work if the full
> >> kernel
> >> +build has been completed in the past, not on a fresh source tree:
> >> +.Bd -literal -offset indent
> >> +cd src
> >> +make -j8 kernel KERNFAST=3D1
> >
> > It might also be worth mentioning that if you're building a kernel
> > other than GENERIC, you can use KERNFAST=3Dconfigname instead of
> > KERNFAST=3D1 KERNCONF=3Dconfigname
>
> You could perhaps just use 'KERNFAST=3DGENERIC' in this example and it wo=
uld
> effectively communicate that I think.

We could, but this complicates things.  As it is now, it just doesn't
mention (nor affect) the kernel config name at all, instead using KERNFAST
as a binary flag.  Also, trying to actually set the kernel name using KERNF=
AST
would probably result in failed build, since for KERNFAST to work, you need
to have previously completed a non-KERNFAST build with that config name.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFLM3-obr0%2Btc-sqv9-HAUgPwqt8T4L72qSaWNHDOu4v%2BTCfKQ>