Lines Matching full:config
3 # diffconfig - a tool to compare .config files.
15 Diffconfig is a simple utility for comparing two .config files.
16 Using standard diff to compare .config files often includes extraneous and
24 changed and new values in kernel config option format.
26 If no config files are specified, .config and .config.old are used.
29 $ diffconfig .config config-with-some-changes
39 # returns a dictionary of name/value pairs for config items in the file
51 def print_config(op, config, value, new_value): argument
57 print "# CONFIG_%s is not set" % config
59 print "CONFIG_%s=%s" % (config, new_value)
62 print "-%s %s" % (config, value)
64 print "+%s %s" % (config, new_value)
66 print " %s %s -> %s" % (config, value, new_value)
86 # if no filenames given, assume .config and .config.old
91 configa_filename = build_dir + ".config.old"
92 configb_filename = build_dir + ".config"
102 for config in a:
103 if config not in b:
104 old.append(config)
106 for config in old:
107 print_config("-", config, a[config], None)
108 del a[config]
112 for config in a:
113 if a[config] != b[config]:
114 changed.append(config)
116 del b[config]
118 for config in changed:
119 print_config("->", config, a[config], b[config])
120 del b[config]
126 for config in new:
127 print_config("+", config, None, b[config])