Ignore:
Timestamp:
07/31/2023 01:44:38 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
cddcdb14
Parents:
0add366
git-author:
Xi Ruoyao <xry111@…> (07/31/2023 12:59:44 PM)
git-committer:
Xi Ruoyao <xry111@…> (07/31/2023 01:44:38 PM)
Message:

introduction: Use new kernel configuration rendering in conventions

Location:
introduction/welcome
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/conventions.xml

    r0add366 r1cf24363  
    136136    The general layout for these looks like this:</para>
    137137
    138 <screen><literal>Master section ---&gt;
    139   Subsection ---&gt;
    140     [*]     Required parameter                     [CONFIG_REQU_PAR]
    141     &lt;*&gt;     Required parameter (not as module)     [CONFIG_REQU_PAR_NMOD]
    142     &lt;*/M&gt;   Required parameter (could be a module) [CONFIG_REQU_PAR_MOD]
    143     &lt;*/M/ &gt; Optional parameter                     [CONFIG_OPT_PAR]
    144     [ ] Incompatible parameter                     [CONFIG_INCOMP_PAR]
    145     &lt; &gt; Incompatible parameter (even as module)    [CONFIG_INCOMP_PAR_MOD]</literal></screen>
    146 
    147     <para>[CONFIG_...] on the right gives the name of the option, so you can
    148     easily check whether it is set in your <filename>.config</filename> file.
    149     The meaning of the various entries is:
     138    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     139      href="conventions-kernel.xml"/>
     140
     141    <para>[...] on the right gives the symbolic name of the option, so you
     142    can easily check whether it is set in your <filename>.config</filename>
     143    file. Note that the <filename>.config</filename> file contains a
     144    <literal>CONFIG_</literal> prefix before all symbolic names.  The
     145    meaning of the various entries is:
    150146
    151147    <blockquote>
     
    190186      <row>
    191187        <entry>
     188          <emphasis role="bold">Required parameter (as
     189          a module)</emphasis>
     190        </entry>
     191        <entry>
     192          the option can be built-in, a module, or not selected:
     193          it must be selected as a module; selecting it as built-in
     194          may cause unwanted effects
     195        </entry>
     196      </row>
     197      <row>
     198        <entry>
    192199          <emphasis role="bold">Optional parameter</emphasis>
    193200        </entry>
    194201        <entry>
    195           rarely used: the option can be built-in, a module, or not
    196           selected: it may be set any way you wish
     202          the option can be built-in, a module, or not
     203          selected: it may be selected as a module or built-in if you
     204          need it for driving the hardware or optional kernel features
     205        </entry>
     206      </row>
     207      <row>
     208        <entry>
     209          <emphasis role="bold">Optional parameter</emphasis>
     210        </entry>
     211        <entry>
     212          the option can be built-in, a module, or not
     213          selected: it may be selected as a module if you need it
     214          for driving the hardware or optional kernel features, but
     215          selecting it as built-in may cause unwanted effects
    197216        </entry>
    198217      </row>
     
    224243    The help text describing the option specifies the other selections on which this
    225244    option relies, and how those other selections are set.</para>
     245
     246    <para>
     247      The letter in <emphasis role='blue'>blue</emphasis> is the hotkey
     248      for this option.  If you are running
     249      <command>make menuconfig</command>, you can press a key to quickly
     250      traverse all the options with this key as the hotkey on the screen.
     251    </para>
    226252
    227253    <para>&nbsp;</para> <!-- add extra white space to improve readability -->
Note: See TracChangeset for help on using the changeset viewer.