aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-05-25 16:08:54 +0000
committerEd Maste <emaste@FreeBSD.org>2025-05-25 16:18:15 +0000
commit49fd622cc34c689eb95506eee013ac1268579590 (patch)
tree4e1b1012a0134d336abaa9dd9ede13e159bfb50a
parenta78cc8f3a28574cba00076caaef709b98289cef8 (diff)
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
-rw-r--r--documentation/content/en/books/developers-handbook/tools/_index.adoc2
1 files changed, 1 insertions, 1 deletions
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: