Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 21:40:12 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r49990 - head/en_US.ISO8859-1/books/porters-handbook/uses
Message-ID:  <201702142140.v1ELeCVq060418@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Tue Feb 14 21:40:12 2017
New Revision: 49990
URL: https://svnweb.freebsd.org/changeset/doc/49990

Log:
  Describe the new "debug" argument of USES=kmod

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Tue Feb 14 14:05:06 2017	(r49989)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Tue Feb 14 21:40:12 2017	(r49990)
@@ -1287,7 +1287,7 @@ GSSAPI_NONE_CONFIGURE_ON=	--without-gssa
   <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-gssa
 	  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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702142140.v1ELeCVq060418>