Update the information about kernel options. Mention the ``new option
scheme''. Closes PR # docs/1110.
This commit is contained in:
parent
daab85586e
commit
d51a59611b
@ -1,6 +1,6 @@
|
||||
<!-- This is an SGML document in the linuxdoc DTD of the Tutorial for
|
||||
Configuring a FreeBSD for Dialup Services by Guy Helmer.
|
||||
$Id: dialup.sgml,v 1.5 1996/01/31 14:26:02 mpp Exp $
|
||||
$Id: dialup.sgml,v 1.6 1996/03/26 21:33:09 joerg Exp $
|
||||
|
||||
<!DOCTYPE linuxdoc PUBLIC "-//Linux//DTD linuxdoc//EN">
|
||||
|
||||
@ -234,7 +234,9 @@ probably need to configure a custom FreeBSD kernel for your system.
|
||||
Please see the BSD System Manager's Manual chapter on ``Building
|
||||
Berkeley Kernels with Config'' [the source for which is in
|
||||
<tt>/usr/src/share/doc/smm</tt>] and ``FreeBSD Configuration
|
||||
Options'' [in <tt>/sys/doc/options.doc</tt>] for more
|
||||
Options'' [in <tt>/sys/conf/options</tt> and in
|
||||
<tt>/sys/<em>arch</em>/conf/options.<em>arch</em></tt>, with
|
||||
<em>arch</em> for example being <tt>i386</tt>] for more
|
||||
information on configuring and building kernels. You may have to
|
||||
unpack the kernel source distribution if haven't installed the system
|
||||
sources already (<tt>srcdist/srcsys.??</tt> in FreeBSD 1.1,
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- $Id: kernelconfig.sgml,v 1.7 1996/01/20 06:28:11 nate Exp $ -->
|
||||
<!-- $Id: kernelconfig.sgml,v 1.8 1996/01/31 14:26:10 mpp Exp $ -->
|
||||
<!-- The FreeBSD Documentation Project -->
|
||||
<!-- <!DOCTYPE linuxdoc PUBLIC '-//FreeBSD//DTD linuxdoc//EN'> -->
|
||||
<chapt><heading>Configuring the FreeBSD Kernel<label id="kernelconfig"></heading>
|
||||
@ -149,6 +149,23 @@
|
||||
located in the same directory as GENERIC. If you are in doubt as to
|
||||
the purpose or necessity of a line, check first in LINT.
|
||||
|
||||
<p>The kernel is currently being moved to a better organization
|
||||
of the option handling. Traditionally, each option in the
|
||||
config file was simply converted into a <tt>-D</tt> switch
|
||||
for the <tt>CFLAGS</tt> line of the kernel Makefile. Naturally,
|
||||
this caused a creaping optionism, with nobody really knowing
|
||||
which option has been referenced in what files.
|
||||
|
||||
<p>In the new scheme, every <tt>#ifdef</tt> that is intended to
|
||||
be dependant upon an option gets this option out of an
|
||||
<tt>opt_<em>foo</em>.h</tt> declaration file created in the
|
||||
compile directory by <tt>config</tt>. The list of valid options
|
||||
for <tt>config</tt> lives in two files: options that don't
|
||||
depend on the architecture are listed in
|
||||
<tt>/sys/conf/options</tt>, architecture-dependant ones
|
||||
in <tt>/sys/<em>arch</em>/conf/options.<em>arch</em></tt>,
|
||||
with <em>arch</em> being for example <tt>i386</tt>.
|
||||
|
||||
<sect1><heading>Mandatory Keywords</heading>
|
||||
|
||||
<p>These keywords are required in every kernel you build.
|
||||
|
Loading…
x
Reference in New Issue
Block a user