Lines Matching refs:options
535 def confirm(options, prompt): argument
536 if not options.yes:
549 def cleanup_one_header(header_path, patterns, options): argument
600 show_diff(lines, tolines, header_path, options.color)
602 if options.dry_run:
609 def cleanup_headers(configs, options): argument
616 if not confirm(options, 'Clean up headers?'):
631 patterns, options)
633 def cleanup_one_extra_option(defconfig_path, configs, options): argument
673 show_diff(lines, tolines, defconfig_path, options.color)
675 if options.dry_run:
682 def cleanup_extra_options(configs, options): argument
689 if not confirm(options, 'Clean up CONFIG_SYS_EXTRA_OPTIONS?'):
698 options)
700 def cleanup_whitelist(configs, options): argument
707 if not confirm(options, 'Clean up whitelist entries?'):
724 def cleanup_readme(configs, options): argument
731 if not confirm(options, 'Clean up README?'):
803 def __init__(self, configs, options, build_dir): argument
812 self.options = options
915 if self.options.spl:
923 color_text(self.options.color, COLOR_BROWN,
962 log += color_text(self.options.color, log_color, actlog) + '\n'
993 log += color_text(self.options.color, COLOR_YELLOW,
1036 def __init__(self, toolchains, configs, options, progress, devnull, argument
1052 self.options = options
1059 self.parser = KconfigParser(configs, options, self.build_dir)
1134 elif self.options.build_db:
1148 self.log += color_text(self.options.color, COLOR_LIGHT_RED,
1150 if self.options.verbose:
1151 self.log += color_text(self.options.color, COLOR_LIGHT_CYAN,
1172 self.log += color_text(self.options.color, COLOR_YELLOW,
1205 if not self.options.force_sync and not updated:
1209 self.log += color_text(self.options.color, COLOR_LIGHT_GREEN,
1232 self.log += color_text(self.options.color, COLOR_LIGHT_BLUE,
1235 if not self.options.dry_run and updated:
1255 if self.options.exit_on_error:
1279 def __init__(self, toolchains, configs, options, progress, argument
1292 self.options = options
1296 for i in range(options.jobs):
1297 self.slots.append(Slot(toolchains, configs, options, progress,
1351 print >> sys.stderr, color_text(self.options.color, COLOR_LIGHT_RED,
1371 print >> sys.stderr, color_text(self.options.color, COLOR_YELLOW,
1411 def move_config(toolchains, configs, options, db_queue): argument
1419 if options.force_sync:
1421 elif options.build_db:
1427 print '(jobs: %d)\n' % options.jobs
1429 if options.git_ref:
1430 reference_src = ReferenceSource(options.git_ref)
1435 if options.defconfigs:
1436 defconfigs = get_matched_defconfigs(options.defconfigs)
1441 slots = Slots(toolchains, configs, options, progress, reference_src_dir,
1809 (options, configs) = parser.parse_args()
1811 if len(configs) == 0 and not any((options.force_sync, options.build_db,
1812 options.imply)):
1822 if options.imply:
1824 if options.imply_flags == 'all':
1827 elif options.imply_flags:
1828 for flag in options.imply_flags.split(','):
1840 do_imply_config(configs, options.add_imply, imply_flags,
1841 options.skip_added)
1850 if not options.cleanup_headers_only:
1856 move_config(toolchains, configs, options, db_queue)
1860 cleanup_headers(configs, options)
1861 cleanup_extra_options(configs, options)
1862 cleanup_whitelist(configs, options)
1863 cleanup_readme(configs, options)
1865 if options.commit:
1877 if options.build_db: