Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 10:37:11 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Edward Tomasz Napierala <trasz@FreeBSD.org>, 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:  <1543599431.1860.161.camel@freebsd.org>
In-Reply-To: <201811301601.wAUG1h3F065286@repo.freebsd.org>
References:  <201811301601.wAUG1h3F065286@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> =====================================================================
> =========
> --- 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=1

It might also be worth mentioning that if you're building a kernel
other than GENERIC, you can use KERNFAST=configname instead of
KERNFAST=1 KERNCONF=configname

-- Ian




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