Lines Matching refs:opt
15 def make_cfg_line(opt, adj):
19 opt (str): Option to process, without CONFIG_ prefix
34 return f'# CONFIG_{opt} is not set'
37 return f'CONFIG_{opt}=y'
70 _, opt, _, _ = m_line.groups()
71 adj = adjust_cfg.get(opt)
73 out_line = make_cfg_line(opt, adj)
75 done.add(opt)
103 for opt in adjust_cfg:
104 if opt not in done:
105 adj = adjust_cfg.get(opt)
106 out_line = make_cfg_line(opt, adj)
161 negate, _, opt, val = m_cfg.groups()
162 result[opt] = f'%s{opt}%s' % (negate or '', val or '')
196 for opt in adjust_cfg:
197 if opt not in done:
198 adj = adjust_cfg.get(opt)
199 out_line = make_cfg_line(opt, adj)