2 # ex:ts=4:sw=4:sts=4:et
3 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
5 import sys, copy, oe, oe.parse, oe.build
9 cfg = oe.parse.handle("conf/oe.conf", cfg)
14 if len(sys.argv) == 2:
15 oefile = copy.deepcopy(cfg)
17 oefile = oe.parse.handle(sys.argv[1], oefile)
20 oefilekeys = oefile.keys()
22 print "Variables in %s:" % sys.argv[1]
24 if k.startswith('base_'): continue
25 if k.startswith('FILES_'): continue
26 if k.startswith('do_'): continue
27 if k.startswith('oe'): continue
29 if cfg[k] == oefile[k]:
31 if 'content' in oefile[k]:
32 print k,'=',oe.data.expand(oefile[k]['content'], oefile)
34 print "Variables in conf/oe.conf & friends:"
36 print "%-30s %s" % (k, cfg[k])