Changeset 7ebdf4e


Ignore:
Timestamp:
07/31/2023 01:44:37 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:
9cc0aba5
Parents:
ece1f60d
git-author:
Xi Ruoyao <xry111@…> (07/30/2023 11:20:06 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/31/2023 01:44:37 PM)
Message:

firmware: Use new kernel configuration rendering

Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • kernel-config/kernel-config.py

    rece1f60d r7ebdf4e  
    5555    if d.endswith('=y') or d.endswith('=M'):
    5656        d = d[:-2]
     57    elif d.endswith(' != ""'):
     58        d = d[:-6]
    5759    return d
    5860
  • postlfs/config/firmware.xml

    rece1f60d r7ebdf4e  
    260260      </para>
    261261
    262 <screen><literal>General Setup ---&gt;
    263   [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support [CONFIG_BLK_DEV_INITRD]
    264 Processor type and features  ---&gt;
    265   [*] CPU microcode loading support  [CONFIG_MICROCODE]
    266   [*]      Intel microcode loading support [CONFIG_MICROCODE_INTEL]</literal></screen>
     262      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     263        href="intel-ucode-kernel.xml"/>
    267264
    268265    </sect3>
     
    304301      </para>
    305302
    306 <screen><literal>General Setup ---&gt;
    307   [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support [CONFIG_BLK_DEV_INITRD]
    308 Processor type and features  ---&gt;
    309   [*] CPU microcode loading support  [CONFIG_MICROCODE]
    310   [*]      AMD microcode loading support [CONFIG_MICROCODE_AMD]</literal></screen>
     303      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     304        href="amd-ucode-kernel.xml"/>
     305
    311306    </sect3>
    312307
     
    729724    </para>
    730725
    731     <screen><literal>Device Drivers  ---&gt;
    732   Generic Driver Options  ---&gt;
    733     Firmware loader ---*gt;
    734       -*- Firmware loading facility
    735       (<replaceable>amdgpu/aaaa.bin amdgpu/bbbb.bin</replaceable>) Build named firmware blobs into the kernel binary
    736       (/lib/firmware) Firmware blobs root directory</literal></screen>
    737 
    738     <para>
    739       Replace <replaceable>amdgpu/aaa.bin amdgpu/bbbb.bin</replaceable>
     726    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     727      href="builtin-fw-kernel.xml"/>
     728
     729    <para>
     730      Replace <replaceable>xx/aa.bin xx/bb.bin</replaceable>
    740731      with a whitespace-separated list of paths to the needed firmware
    741732      files, relative to
Note: See TracChangeset for help on using the changeset viewer.