Changeset 090e7ea1 in mainline
- Timestamp:
- 2005-12-06T19:48:55Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9371c30
- Parents:
- d43d2f7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel.config
rd43d2f7 r090e7ea1 1 1 ## General configuration directives 2 2 3 # Support for symetric multiprocessors3 # Support for SMP 4 4 ! CONFIG_SMP (y/n) 5 5 6 6 # Improved support for hyperthreading 7 ! CONFIG_HT (y/n)7 ! [ARCH=ia32|ARCH=amd64] CONFIG_HT (y/n) 8 8 9 # Lazy context switching9 # Lazy FPU context switching 10 10 ! CONFIG_FPU_LAZY (y/n) 11 11 -
tools/clean
rd43d2f7 r090e7ea1 1 1 #! /bin/sh 2 3 # Without Makefile.config the makefile does not work... 4 touch Makefile.config 2 5 3 6 ARCH="`basename "$0" | awk -F. '{ if (NF > 1) print \$NF }'`" -
tools/config.py
rd43d2f7 r090e7ea1 112 112 113 113 def calldlg(self,*args,**kw): 114 "Wrapper for calling 'dialog' program" 114 115 indesc, outdesc = os.pipe() 115 116 pid = os.fork() … … 177 178 178 179 def read_defaults(fname,defaults): 180 "Read saved values from last configuration run" 179 181 f = file(fname,'r') 180 182 for line in f: … … 185 187 186 188 def check_condition(text, defaults): 189 "Check that the condition specified on input line is True" 187 190 result = False 188 191 conds = text.split('|') … … 200 203 201 204 def parse_config(input, output, dlg, defaults={}): 205 "Parse configuration file and create Makefile.config on the fly" 202 206 f = file(input, 'r') 203 207 outf = file(output, 'w') … … 212 216 for line in f: 213 217 if line.startswith('!'): 218 # Ask a question 214 219 res = re.search(r'!\s*(?:\[(.*?)\])?\s*([^\s]+)\s*\((.*)\)\s*$', line) 215 220 if not res: … … 250 255 251 256 if line.startswith('@'): 257 # Add new line into the 'choice array' 252 258 res = re.match(r'@\s*(?:\[(.*?)\])?\s*"(.*?)"\s*(.*)$', line) 253 259 if not res: … … 258 264 choices.append((res.group(2), res.group(3))) 259 265 continue 260 266 267 # All other things print to output file 261 268 outf.write(line) 262 269 if re.match(r'^#[^#]', line): 270 # Last comment before question will be displayed to the user 263 271 comment = line[1:].strip() 264 272 elif line.startswith('##'): 273 # Set title of the dialog window 265 274 dlg.set_title(line[2:].strip()) 266 275
Note:
See TracChangeset
for help on using the changeset viewer.