Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 560 → Rev 559

/kernel/trunk/tools/buildtag
File deleted
Property changes:
Deleted: svn:executable
-*
\ No newline at end of property
/kernel/trunk/tools/config.py
309,18 → 309,7
args = args[1:]
if cmd == 'saveas':
outf.write('%s = %s\n' % (args[1],defaults[args[0]]))
elif cmd == 'shellcmd':
varname = args[0]
args = args[1:]
for i,arg in enumerate(args):
if arg.startswith('$'):
args[i] = defaults[arg[1:]]
 
subc = os.popen(' '.join(args),'r')
data = subc.read().strip()
if subc.close():
raise RuntimeError('Error running: %s' % ' '.join(args))
outf.write('%s = %s\n' % (varname,data))
continue
if line.startswith('!'):
/kernel/trunk/kernel.config
9,8 → 9,6
@ "sparc64" Sun UltraSPARC
! ARCH (choice)
 
% SHELLCMD TAG tools/buildtag $ARCH
 
# IA32 Compiler
@ "cross" Cross-compiler
@ "native" Native