git: e022e37cf3 - main - handbook: Avoid using `make kernel`
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Oct 2026 16:35:37 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/doc/commit/?id=e022e37cf37deae3e5fa4b48759f8695a823bd03
commit e022e37cf37deae3e5fa4b48759f8695a823bd03
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-10-09 16:05:02 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-10-09 16:29:31 +0000
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
---
documentation/content/en/books/handbook/cutting-edge/_index.adoc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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`,