Lines Matching full:options

9 Move config options from headers to defconfig files.
12 config options from headers to Kconfig (defconfig).
88 defconfig. The config options defined in Kconfig appear in the .config
90 On the other hand, the config options defined by board headers are seen
91 in include/autoconf.mk. The tool looks for the specified options in both
92 of them to decide the appropriate action for the options. If the given
134 Some CONFIG options can be implied by others and this can help to reduce
176 This shows a list of config options which might imply CONFIG_CMD_EEPROM along
187 That will cover 20 defconfigs. Many of the options listed are not suitable as
199 This will add 'imply SCSI' to the two CONFIG options mentioned, assuming that
221 options (use '-I help' to see possible options and their meaning).
223 To skip showing you options that already have an 'imply' attached, use -A.
225 When you have finished adding 'imply' options you can regenerate the
232 a few 'imply' options as above, then regenerate, hopefully you can reduce the
236 Available options
265 Look for moved config options in spl/include/autoconf.mk instead of
266 include/autoconf.mk. This is useful for moving options for SPL build
267 because SPL related options (mostly prefixed with CONFIG_SPL_) are
293 To see the complete list of supported options, run
535 def confirm(options, prompt): argument
536 if not options.yes:
549 def cleanup_one_header(header_path, patterns, options): argument
556 options: option flags.
600 show_diff(lines, tolines, header_path, options.color)
602 if options.dry_run:
609 def cleanup_headers(configs, options): argument
614 options: option flags.
616 if not confirm(options, 'Clean up headers?'):
631 patterns, options)
633 def cleanup_one_extra_option(defconfig_path, configs, options): argument
639 options: option flags.
673 show_diff(lines, tolines, defconfig_path, options.color)
675 if options.dry_run:
682 def cleanup_extra_options(configs, options): argument
687 options: option flags.
689 if not confirm(options, 'Clean up CONFIG_SYS_EXTRA_OPTIONS?'):
698 options)
700 def cleanup_whitelist(configs, options): argument
705 options: option flags.
707 if not confirm(options, 'Clean up whitelist entries?'):
724 def cleanup_readme(configs, options): argument
729 options: option flags.
731 if not confirm(options, 'Clean up README?'):
803 def __init__(self, configs, options, build_dir): argument
808 options: option flags.
812 self.options = options
849 This function looks for the config options in the lines from
895 """Parse files for the config options and update the .config.
898 searching the target 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
1043 options: option flags.
1052 self.options = options
1059 self.parser = KconfigParser(configs, options, self.build_dir)
1109 config options to the .config as needed.
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
1286 options: option flags.
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
1412 """Move config options to defconfig files.
1416 options: option flags
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,
1543 'min2': [IMPLY_MIN_2, 'Show options which imply >2 boards (normally >5)'],
1544 'target': [IMPLY_TARGET, 'Allow CONFIG_TARGET_... options to imply'],
1548 'Allow Kconfig options outside arch/ and /board/ to imply'],
1553 """Find CONFIG options which imply those in the list
1555 Some CONFIG options can be implied by others and this can help to reduce
1561 This function uses the moveconfig database to find such options. It
1576 config_list: List of CONFIG options to check (each a string)
1580 skip_added: Don't show options which already have an imply added.
1590 config - a CONFIG_XXX options (a string, e.g. 'CONFIG_CMD_EEPROM')
1604 # Set of all config options we have seen
1766 # Add options here
1768 help='comma-separated list of CONFIG options to add '
1771 help="don't show options which are already marked as "
1784 help='find options which imply others')
1795 help='parse config options defined for SPL build')
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: