Add tip which describes the way of building only custom modules.
Reviewed by: blackend
This commit is contained in:
parent
90dedd9ad3
commit
ee722e2721
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=26681
1 changed files with 15 additions and 0 deletions
|
@ -374,6 +374,21 @@
|
|||
described above.</para>
|
||||
</note>
|
||||
|
||||
<tip>
|
||||
<para>By default, when you build a custom kernel,
|
||||
<emphasis>all</emphasis> kernel modules also will be rebuilded.
|
||||
If you want to update a kernel faster or to build only custom
|
||||
modules, you should edit <filename>/etc/make.conf</filename>
|
||||
before starting to build the kernel:</para>
|
||||
|
||||
<programlisting>MODULES_OVERRIDE = linux acpi sound/sound sound/driver/ds1 ntfs</programlisting>
|
||||
|
||||
<para>This variable sets up a list of modules to build instead
|
||||
of all of them. For other variables which you may find useful
|
||||
in the process of building kernel, refer to &man.make.conf.5;
|
||||
manual page.</para>
|
||||
</tip>
|
||||
|
||||
<note>
|
||||
<para>In &os; 4.2 and older you must replace
|
||||
<literal>KERNCONF=</literal> with <literal>KERNEL=</literal>.
|
||||
|
|
Loading…
Reference in a new issue