Changeset 090e7ea1 in mainline


Ignore:
Timestamp:
2005-12-06T19:48:55Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9371c30
Parents:
d43d2f7
Message:

Doc cleanup.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel.config

    rd43d2f7 r090e7ea1  
    11## General configuration directives
    22
    3 # Support for symetric multiprocessors
     3# Support for SMP
    44! CONFIG_SMP (y/n)
    55
    66# Improved support for hyperthreading
    7 ! CONFIG_HT (y/n)
     7! [ARCH=ia32|ARCH=amd64] CONFIG_HT (y/n)
    88
    9 # Lazy context switching
     9# Lazy FPU context switching
    1010! CONFIG_FPU_LAZY (y/n)
    1111
  • tools/clean

    rd43d2f7 r090e7ea1  
    11#! /bin/sh
     2
     3# Without Makefile.config the makefile does not work...
     4touch Makefile.config
    25
    36ARCH="`basename "$0" | awk -F. '{ if (NF > 1) print \$NF }'`"
  • tools/config.py

    rd43d2f7 r090e7ea1  
    112112       
    113113    def calldlg(self,*args,**kw):
     114        "Wrapper for calling 'dialog' program"
    114115        indesc, outdesc = os.pipe()
    115116        pid = os.fork()
     
    177178   
    178179def read_defaults(fname,defaults):
     180    "Read saved values from last configuration run"
    179181    f = file(fname,'r')
    180182    for line in f:
     
    185187
    186188def check_condition(text, defaults):
     189    "Check that the condition specified on input line is True"
    187190    result = False
    188191    conds = text.split('|')
     
    200203
    201204def parse_config(input, output, dlg, defaults={}):
     205    "Parse configuration file and create Makefile.config on the fly"
    202206    f = file(input, 'r')
    203207    outf = file(output, 'w')
     
    212216    for line in f:       
    213217        if line.startswith('!'):
     218            # Ask a question
    214219            res = re.search(r'!\s*(?:\[(.*?)\])?\s*([^\s]+)\s*\((.*)\)\s*$', line)
    215220            if not res:
     
    250255       
    251256        if line.startswith('@'):
     257            # Add new line into the 'choice array'
    252258            res = re.match(r'@\s*(?:\[(.*?)\])?\s*"(.*?)"\s*(.*)$', line)
    253259            if not res:
     
    258264            choices.append((res.group(2), res.group(3)))
    259265            continue
    260        
     266
     267        # All other things print to output file
    261268        outf.write(line)
    262269        if re.match(r'^#[^#]', line):
     270            # Last comment before question will be displayed to the user
    263271            comment = line[1:].strip()
    264272        elif line.startswith('##'):
     273            # Set title of the dialog window
    265274            dlg.set_title(line[2:].strip())
    266275       
Note: See TracChangeset for help on using the changeset viewer.