Changeset 31a9142


Ignore:
Timestamp:
12/05/2023 05:32:48 PM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
7cce808, c4108e5
Parents:
981b9fa6
Message:

kernel-config: Sync fixes from BLFS

Location:
chapter10/kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel/Makefile

    r981b9fa6 r31a9142  
    2020        touch s-kernel-version
    2121
    22 %.xml: %.toml kernel-config.py kernel_version.py kernel.version
     22%.xml.tmp: %.toml kernel-config.py kernel_version.py kernel.version
    2323        ./kernel-config.py $(KERNEL_TREE) $< > $@
     24
     25%.xml: %.xml.tmp
     26        mv $< $@
  • chapter10/kernel/highmem.xml

    r981b9fa6 r31a9142  
    66<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
    77  H<emphasis role='blue'>i</emphasis>gh Memory Support ---&gt;
    8     (X) <emphasis role='blue'>6</emphasis>4GB                                                        [HIGHMEM64G]</screen>
     8    (X) 64<emphasis role='blue'>G</emphasis>B                                                        [HIGHMEM64G]</screen>
  • chapter10/kernel/kernel-config.py

    r981b9fa6 r31a9142  
    186186            elif line.startswith('endif'):
    187187                if_stack = if_stack[:-1]
     188
     189    if config_buf:
     190        r += [parse_config(config_buf)]
     191
    188192    return r
    189193
     
    260264        title = title[:rem - 3] + '...'
    261265
    262     b = title.lstrip('YyMmNnHh')
     266    b = title.lstrip('YyMmNnHh.' + "".join(map(str, range(10))))
    263267    a = title[:len(title) - len(b)]
    264268    b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
Note: See TracChangeset for help on using the changeset viewer.