3 import sys, copy, oe, oe.parse, oe.build
7 cfg = oe.parse.handle("conf/oe.conf", cfg)
12 if len(sys.argv) == 2:
13 oefile = copy.deepcopy(cfg)
14 oefile = oe.parse.handle(sys.argv[1], oefile)
15 oefilekeys = oefile.keys()
17 print "Variables in %s:" % sys.argv[1]
19 if k.startswith('base_'): continue
20 if k.startswith('FILES_'): continue
21 if k.startswith('do_'): continue
22 if k.startswith('oe'): continue
24 if cfg[k] == oefile[k]:
26 if 'content' in oefile[k]:
27 print k,'=',oe.data.expand(oefile[k]['content'], oefile)
29 print "Variables in conf/oe.conf & friends:"
31 print "%-30s %s" % (k, cfg[k])