git: 49fd622cc3 - main - developers-handbook: Correct command to build entire OS

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sun, 25 May 2025 16:18:23 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/doc/commit/?id=49fd622cc34c689eb95506eee013ac1268579590

commit 49fd622cc34c689eb95506eee013ac1268579590
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-05-25 16:08:54 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-05-25 16:18:15 +0000

    developers-handbook: Correct command to build entire OS
    
    `make world` and `make buildworld` do not build the kernel, so to
    actually compile "the entire operating system" the appropriate command
    is `make buildworld buildkernel`.
    
    Reported by:    olce
    Sponsored by:   The FreeBSD Foundation
---
 documentation/content/en/books/developers-handbook/tools/_index.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/content/en/books/developers-handbook/tools/_index.adoc b/documentation/content/en/books/developers-handbook/tools/_index.adoc
index 608851ecc7..bcae63ad03 100644
--- a/documentation/content/en/books/developers-handbook/tools/_index.adoc
+++ b/documentation/content/en/books/developers-handbook/tools/_index.adoc
@@ -530,7 +530,7 @@ In other words, this is the rule which tells make how to re-compile [.filename]#
 
 So, when you type `make`, it will make sure that [.filename]#foo# is up to date with respect to your latest changes to [.filename]#foo.c#.
 This principle can be extended to [.filename]#Makefile#'s with hundreds of targets-in fact, on FreeBSD,
-it is possible to compile the entire operating system just by typing `make buildworld` at the top level directory in the src tree.
+it is possible to compile the entire operating system just by typing `make buildworld buildkernel` at the top level directory in the src tree.
 
 Another useful property of makefiles is that the targets do not have to be programs.
 For instance, we could have a make file that looks like this: