Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 09:47:35 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Ian Lepore <ian@freebsd.org>, 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:  <9ac1300e-3e8a-1151-dd8d-3a980bd6cae8@FreeBSD.org>
In-Reply-To: <1543599431.1860.161.camel@freebsd.org>
References:  <201811301601.wAUG1h3F065286@repo.freebsd.org> <1543599431.1860.161.camel@freebsd.org>

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

You could perhaps just use 'KERNFAST=GENERIC' in this example and it would
effectively communicate that I think.

-- 
John Baldwin

                                                                            



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ac1300e-3e8a-1151-dd8d-3a980bd6cae8>