Lines Matching defs:conf
175 conf = None
186 def __init__(self, name, conf={}):
188 conf can have the follwing keys:
228 self.debug = getv(conf, 'debug', 0)
229 self.debug_out = getv(conf, 'debug_out', sys.stderr)
231 self.machine = getv(conf, 'MACHINE', '')
232 self.machine_arch = getv(conf, 'MACHINE_ARCH', '')
233 self.target_spec = getv(conf, 'TARGET_SPEC', '')
234 self.curdir = getv(conf, 'CURDIR')
235 self.reldir = getv(conf, 'RELDIR')
236 self.dpdeps = getv(conf, 'DPDEPS')
239 if not self.conf:
241 self.conf = conf
242 self.host_target = getv(conf, 'HOST_TARGET')
243 for srctop in getv(conf, 'SRCTOPS', []):
260 for objroot in getv(conf, 'OBJROOTS', []):
280 self.excludes = getv(conf, 'EXCLUDES', [])
649 conf = {
658 conf['MACHINE'] = machine
661 conf['MACHINE_ARCH'] = machine_arch
664 conf['SRCTOPS'].append(srctop)
667 conf['OBJROOTS'].append(objroot)
677 conf['MACHINE_ARCH'] = a
683 conf['HOST_TARGET'] = a
685 if a not in conf['SRCTOPS']:
686 conf['SRCTOPS'].append(a)
688 conf['CURDIR'] = a
690 if a not in conf['OBJROOTS']:
691 conf['OBJROOTS'].append(a)
693 conf['RELDIR'] = a
695 conf['DPDEPS'] = a
697 conf['MACHINE'] = a
699 conf['TARGET_SPEC'] = a
701 if a not in conf['EXCLUDES']:
702 conf['EXCLUDES'].append(a)
704 xoptf(o, a, conf)
706 conf['debug'] = debug
718 if v not in conf[k]:
719 conf[k].append(v)
721 conf[k] = v
729 debug_out = getv(conf, 'debug_out', sys.stderr)
734 for k,v in list(conf.items()):
742 m = klass(a, conf)
749 m = klass(f, conf)
756 dpdeps = getv(conf, 'DPDEPS')