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

File:
1 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'):
Note: See TracChangeset for help on using the changeset viewer.