aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2021-03-14 12:08:55 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-03-14 12:08:55 +0000
commita9a9e661059557e5bb6ab3e756e007b8e5d231ce (patch)
treeb4fba4f5b8c4f985ade395b460936a7447e8d499 /documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc
parent55c95407aa64d98cdd8edf18990d89e5b86db96c (diff)
Diffstat (limited to 'documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc')
-rw-r--r--documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc b/documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc
index 7322b4cab3..906ce32357 100644
--- a/documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc
+++ b/documentation/content/en/books/developers-handbook/kernelbuild/chapter.adoc
@@ -47,21 +47,21 @@ Building the kernel this way may be useful when working on the kernel code and i
[.procedure]
. Run man:config[8] to generate the kernel source code:
+
-[source,bash]
+[source,shell]
....
# /usr/sbin/config MYKERNEL
....
. Change into the build directory. man:config[8] will print the name of this directory after being run as above.
+
-[source,bash]
+[source,shell]
....
# cd ../compile/MYKERNEL
....
. Compile the kernel:
+
-[source,bash]
+[source,shell]
....
# make depend
# make
@@ -69,7 +69,7 @@ Building the kernel this way may be useful when working on the kernel code and i
. Install the new kernel:
+
-[source,bash]
+[source,shell]
....
# make install
....