svn commit: r341344 - head/share/man/man7

John Baldwin jhb at FreeBSD.org
Fri Nov 30 17:47:38 UTC 2018


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

                                                                            


More information about the svn-src-head mailing list