Changeset 8a243b5e for chapter10


Ignore:
Timestamp:
08/08/2023 04:27:43 AM (13 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1
Children:
af800c8
Parents:
2882861
Message:

loongarch: Adapt kernel configuration

Location:
chapter10/kernel
Files:
4 deleted
3 edited

Legend:

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

    r2882861 r8a243b5e  
    2424if_stack = []
    2525
    26 expand_var_mp = { 'SRCARCH': 'x86' }
     26expand_var_mp = { 'SRCARCH': 'loongarch' }
    2727main_dep = {}
    2828
     
    171171            if line.startswith('source') or line.startswith('\tsource'):
    172172                sub = expand_var(line.strip().split()[1].strip('"'))
     173                # Ugly.  TODO: remove once this is resolved in kernel.
     174                if file[:4] == 'arch' and sub == 'drivers/firmware/Kconfig':
     175                    continue
    173176                r += load_kconfig(sub)
    174177            elif line.startswith('config') or line.startswith('menu'):
  • chapter10/kernel/systemd.xml

    r2882861 r8a243b5e  
    1616  [ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) ---&gt;            [EXPERT]
    1717
    18 <emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
    19   [*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel                                   [RELOCATABLE]
    20   [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR)       [RANDOMIZE_BASE]
     18<emphasis role='blue'>K</emphasis>ernel type and options ---&gt;
     19  [*] <emphasis role='blue'>R</emphasis>elocatable kernel                                           [RELOCATABLE]
     20  [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel (KASLR)             [RANDOMIZE_BASE]
    2121
    2222<emphasis role='blue'>G</emphasis>eneral architecture-dependent options ---&gt;
  • chapter10/kernel/sysv.xml

    r2882861 r8a243b5e  
    1515  [ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) ---&gt;            [EXPERT]
    1616
    17 <emphasis role='blue'>P</emphasis>rocessor type and features ---&gt;
    18   [*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel                                   [RELOCATABLE]
    19   [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR)       [RANDOMIZE_BASE]
     17<emphasis role='blue'>K</emphasis>ernel type and options ---&gt;
     18  [*] <emphasis role='blue'>R</emphasis>elocatable kernel                                           [RELOCATABLE]
     19  [*]   <emphasis role='blue'>R</emphasis>andomize the address of the kernel (KASLR)             [RANDOMIZE_BASE]
    2020
    2121<emphasis role='blue'>G</emphasis>eneral architecture-dependent options ---&gt;
Note: See TracChangeset for help on using the changeset viewer.