aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-10-09 16:05:02 +0000
committerEd Maste <emaste@FreeBSD.org>2026-10-09 16:29:31 +0000
commite022e37cf37deae3e5fa4b48759f8695a823bd03 (patch)
treeac83d5eb36c28b7f12e7ec20ceaf87d00bd79d37
parent8218e224c301d489e5c1256fa580a44811553230 (diff)
handbook: Avoid using `make kernel`
Don't suggest using a make target that requires building as root. Most examples already used separate buildkernel and installkernel steps. This is similar to 554f43c0a7af ("docs: Remove references to make world). Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60533
-rw-r--r--documentation/content/en/books/handbook/cutting-edge/_index.adoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.adoc b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
index 8c46c4a368..0f8e6baac3 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.adoc
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
@@ -441,7 +441,8 @@ Alternately, the `GENERIC` kernel may be rebuilt and installed from source:
[source,shell]
....
# cd /usr/src
-# make kernel __MAKE_CONF=/dev/null SRCCONF=/dev/null
+# make buildkernel __MAKE_CONF=/dev/null SRCCONF=/dev/null
+# make installkernel __MAKE_CONF=/dev/null SRCCONF=/dev/null
....
For this kernel to be identified as the `GENERIC` kernel by `freebsd-update`,