Lines Matching defs:conf
194 conf = None
205 def __init__(self, name, conf={}):
207 conf can have the follwing keys:
247 self.debug = conf.get('debug', 0)
248 self.debug_out = conf.get('debug_out', sys.stderr)
250 self.machine = conf.get('MACHINE', '')
251 self.machine_arch = conf.get('MACHINE_ARCH', '')
252 self.target_spec = conf.get('TARGET_SPEC', self.machine)
254 self.curdir = conf.get('CURDIR')
255 self.reldir = conf.get('RELDIR')
256 self.dpdeps = conf.get('DPDEPS')
260 if not self.conf:
262 self.conf = conf
263 self.host_target = conf.get('HOST_TARGET')
264 for srctop in conf.get('SRCTOPS', []):
281 for objroot in conf.get('OBJROOTS', []):
301 self.excludes = conf.get('EXCLUDES', [])
711 conf = {
720 conf['MACHINE'] = machine
723 conf['MACHINE_ARCH'] = machine_arch
726 conf['SRCTOPS'].append(srctop)
729 conf['OBJROOTS'].append(objroot)
739 conf['MACHINE_ARCH'] = a
745 conf['HOST_TARGET'] = a
747 if a not in conf['SRCTOPS']:
748 conf['SRCTOPS'].append(a)
750 conf['CURDIR'] = a
752 if a not in conf['OBJROOTS']:
753 conf['OBJROOTS'].append(a)
755 conf['RELDIR'] = a
757 conf['DPDEPS'] = a
759 conf['MACHINE'] = a
761 conf['TARGET_SPEC'] = a
763 if a not in conf['EXCLUDES']:
764 conf['EXCLUDES'].append(a)
766 xoptf(o, a, conf)
768 conf['debug'] = debug
780 if v not in conf[k]:
781 conf[k].append(v)
783 conf[k] = v
791 debug_out = conf.get('debug_out', sys.stderr)
796 for k,v in list(conf.items()):
804 m = klass(a, conf)
811 m = klass(f, conf)
818 dpdeps = conf.get('DPDEPS')