Describe the new "debug" argument of USES=kmod

This commit is contained in:
Rene Ladan 2017-02-14 21:40:12 +00:00
parent 02c09dec43
commit 82d97b839f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=49990

View file

@ -1287,7 +1287,7 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssapi</programlisting>
<sect1 xml:id="uses-kmod">
<title><literal>kmod</literal></title>
<para>Possible arguments: (none)</para>
<para>Possible arguments: (none), <literal>debug</literal></para>
<para>Fills in the boilerplate for kernel module ports,
currently:</para>
@ -1325,6 +1325,16 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssapi</programlisting>
installation and deinstallation, using <link
linkend="plist-keywords-kld"><literal>@kld</literal></link>.</para>
</listitem>
<listitem>
<para>If the <literal>debug</literal> argument is given, the
port can install a debug version of the module into
<filename>KERN_DEBUGDIR</filename>/<filename>KMODDIR</filename>.
By default, <varname>KERN_DEBUGDIR</varname> is copied from
<varname>DEBUGDIR</varname> and set to
<filename>/usr/lib/debug</filename>. The framework will take
care of creating and removing any required directories.</para>
</listitem>
</itemizedlist>
</sect1>