Ignore:
File:
1 edited

Legend:

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

    r7cce808 re08ba0a  
    2424if_stack = []
    2525
    26 expand_var_mp = { 'SRCARCH': 'x86' }
     26expand_var_mp = { 'SRCARCH': 'arm64' }
    2727main_dep = {}
    2828
     
    186186            elif line.startswith('endif'):
    187187                if_stack = if_stack[:-1]
    188 
    189     if config_buf:
    190         r += [parse_config(config_buf)]
    191 
    192188    return r
    193189
     
    252248for i0, val, i1, title, arrow, key, menu, comment in r:
    253249    rem = max_line
    254     is_choice = (val == '(X)')
    255250
    256251    if val:
     
    265260        title = title[:rem - 3] + '...'
    266261
    267     b = title
    268     if not is_choice:
    269         b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10))))
     262    b = title.lstrip('YyMmNnHh')
    270263    a = title[:len(title) - len(b)]
    271264    b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
Note: See TracChangeset for help on using the changeset viewer.