# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR The FreeBSD Project # This file is distributed under the same license as the FreeBSD Documentation package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: FreeBSD Documentation VERSION\n" "POT-Creation-Date: 2025-05-01 19:56-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Title = #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:1 #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:15 #, no-wrap msgid "Building and Installing a FreeBSD Kernel" msgstr "" #. type: YAML Front Matter: title #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:1 #, no-wrap msgid "Chapter 9. Building and Installing a FreeBSD Kernel" msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:55 msgid "" "Being a kernel developer requires understanding of the kernel build " "process. To debug the FreeBSD kernel it is required to be able to build " "one. There are two known ways to do so:" msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:57 msgid "" "The supported procedure to build and install a kernel is documented in the " "extref:{handbook}kernelconfig/[Building and Installing a Custom Kernel, " "kernelconfig-building] chapter of the FreeBSD Handbook." msgstr "" #. type: delimited block = 4 #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:62 msgid "" "It is supposed that the reader of this chapter is familiar with the " "information described in the extref:{handbook}kernelconfig/[Building and " "Installing a Custom Kernel, kernelconfig-building] chapter of the FreeBSD " "Handbook. If this is not the case, please read through the above mentioned " "chapter to understand how the build process works." msgstr "" #. type: Title == #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:65 #, no-wrap msgid "Building the Faster but Brittle Way" msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:69 msgid "" "Building the kernel this way may be useful when working on the kernel code " "and it may actually be faster than the documented procedure when only a " "single option or two were tweaked in the kernel configuration file. On the " "other hand, it might lead to unexpected kernel build breakage." msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:72 msgid "Run man:config[8] to generate the kernel source code:" msgstr "" #. type: delimited block . 4 #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:76 #, no-wrap msgid "# /usr/sbin/config MYKERNEL\n" msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:79 msgid "" "Change into the build directory. man:config[8] will print the name of this " "directory after being run as above." msgstr "" #. type: delimited block . 4 #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:83 #, no-wrap msgid "# cd ../compile/MYKERNEL\n" msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:86 msgid "Compile the kernel:" msgstr "" #. type: delimited block . 4 #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:91 #, no-wrap msgid "" "# make depend\n" "# make\n" msgstr "" #. type: Plain text #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:94 msgid "Install the new kernel:" msgstr "" #. type: delimited block . 4 #: documentation/content/en/books/developers-handbook/kernelbuild/_index.adoc:98 #, no-wrap msgid "# make install\n" msgstr ""