Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 625 → Rev 626

/kernel/trunk/tools/config.py
276,21 → 276,23
oper = res.group(2)
condval = res.group(3)
if condname not in seen_vars:
raise RuntimeError("Variable %s not defined before being asked." %\
condname)
if not defaults.has_key(condname):
varval = ''
## raise RuntimeError("Variable %s not defined before being asked." %\
## condname)
elif not defaults.has_key(condname):
raise RuntimeError("Condition var %s does not exist: %s" % \
(condname,text))
 
else:
varval = defaults[condname]
if ctype == 'cnf':
if oper == '=' and condval == defaults[condname]:
if oper == '=' and condval == varval:
return True
if oper == '!=' and condval != defaults[condname]:
if oper == '!=' and condval != varval:
return True
else:
if oper== '=' and condval != defaults[condname]:
if oper== '=' and condval != varval:
return False
if oper== '!=' and condval == defaults[condname]:
if oper== '!=' and condval == varval:
return False
if ctype=='cnf':
return False
/kernel/trunk/kernel.config
59,7 → 59,7
! CONFIG_DEBUG (y/n)
 
# Deadlock detection support for spinlocks
! [CONFIG_DEBUG=y] CONFIG_DEBUG_SPINLOCK (y/n)
! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
 
## Run-time configuration directives