Lines Matching full:options
8 Move config options from headers to defconfig files.
11 config options from headers to Kconfig (defconfig).
87 defconfig. The config options defined in Kconfig appear in the .config
89 On the other hand, the config options defined by board headers are seen
90 in include/autoconf.mk. The tool looks for the specified options in both
91 of them to decide the appropriate action for the options. If the given
133 Some CONFIG options can be implied by others and this can help to reduce
175 This shows a list of config options which might imply CONFIG_CMD_EEPROM along
186 That will cover 20 defconfigs. Many of the options listed are not suitable as
198 This will add 'imply SCSI' to the two CONFIG options mentioned, assuming that
220 options (use '-I help' to see possible options and their meaning).
222 To skip showing you options that already have an 'imply' attached, use -A.
224 When you have finished adding 'imply' options you can regenerate the
231 a few 'imply' options as above, then regenerate, hopefully you can reduce the
235 Available options
264 Look for moved config options in spl/include/autoconf.mk instead of
265 include/autoconf.mk. This is useful for moving options for SPL build
266 because SPL related options (mostly prefixed with CONFIG_SPL_) are
292 To see the complete list of supported options, run
534 def confirm(options, prompt): argument
535 if not options.yes:
548 def cleanup_empty_blocks(header_path, options): argument
553 options: option flags.
562 options.color)
564 if options.dry_run:
570 def cleanup_one_header(header_path, patterns, options): argument
577 options: option flags.
621 show_diff(lines, tolines, header_path, options.color)
623 if options.dry_run:
630 def cleanup_headers(configs, options): argument
635 options: option flags.
637 if not confirm(options, 'Clean up headers?'):
652 cleanup_one_header(header_path, patterns, options)
653 cleanup_empty_blocks(header_path, options)
655 def cleanup_one_extra_option(defconfig_path, configs, options): argument
661 options: option flags.
695 show_diff(lines, tolines, defconfig_path, options.color)
697 if options.dry_run:
704 def cleanup_extra_options(configs, options): argument
709 options: option flags.
711 if not confirm(options, 'Clean up CONFIG_SYS_EXTRA_OPTIONS?'):
720 options)
722 def cleanup_whitelist(configs, options): argument
727 options: option flags.
729 if not confirm(options, 'Clean up whitelist entries?'):
746 def cleanup_readme(configs, options): argument
751 options: option flags.
753 if not confirm(options, 'Clean up README?'):
825 def __init__(self, configs, options, build_dir): argument
830 options: option flags.
834 self.options = options
871 This function looks for the config options in the lines from
917 """Parse files for the config options and update the .config.
920 searching the target options.
937 if self.options.spl:
945 color_text(self.options.color, COLOR_BROWN,
984 log += color_text(self.options.color, log_color, actlog) + '\n'
1015 log += color_text(self.options.color, COLOR_YELLOW,
1058 def __init__(self, toolchains, configs, options, progress, devnull, argument
1065 options: option flags.
1074 self.options = options
1081 self.parser = KconfigParser(configs, options, self.build_dir)
1131 config options to the .config as needed.
1156 elif self.options.build_db:
1170 self.log += color_text(self.options.color, COLOR_LIGHT_RED,
1172 if self.options.verbose:
1173 self.log += color_text(self.options.color, COLOR_LIGHT_CYAN,
1194 self.log += color_text(self.options.color, COLOR_YELLOW,
1227 if not self.options.force_sync and not updated:
1231 self.log += color_text(self.options.color, COLOR_LIGHT_GREEN,
1254 self.log += color_text(self.options.color, COLOR_LIGHT_BLUE,
1257 if not self.options.dry_run and updated:
1277 if self.options.exit_on_error:
1301 def __init__(self, toolchains, configs, options, progress, argument
1308 options: option flags.
1314 self.options = options
1318 for i in range(options.jobs):
1319 self.slots.append(Slot(toolchains, configs, options, progress,
1373 print >> sys.stderr, color_text(self.options.color, COLOR_LIGHT_RED,
1393 print >> sys.stderr, color_text(self.options.color, COLOR_YELLOW,
1433 def move_config(toolchains, configs, options, db_queue): argument
1434 """Move config options to defconfig files.
1438 options: option flags
1441 if options.force_sync:
1443 elif options.build_db:
1449 print '(jobs: %d)\n' % options.jobs
1451 if options.git_ref:
1452 reference_src = ReferenceSource(options.git_ref)
1457 if options.defconfigs:
1458 defconfigs = get_matched_defconfigs(options.defconfigs)
1463 slots = Slots(toolchains, configs, options, progress, reference_src_dir,
1565 'min2': [IMPLY_MIN_2, 'Show options which imply >2 boards (normally >5)'],
1566 'target': [IMPLY_TARGET, 'Allow CONFIG_TARGET_... options to imply'],
1570 'Allow Kconfig options outside arch/ and /board/ to imply'],
1575 """Find CONFIG options which imply those in the list
1577 Some CONFIG options can be implied by others and this can help to reduce
1583 This function uses the moveconfig database to find such options. It
1598 config_list: List of CONFIG options to check (each a string)
1602 skip_added: Don't show options which already have an imply added.
1612 config - a CONFIG_XXX options (a string, e.g. 'CONFIG_CMD_EEPROM')
1626 # Set of all config options we have seen
1788 # Add options here
1790 help='comma-separated list of CONFIG options to add '
1793 help="don't show options which are already marked as "
1806 help='find options which imply others')
1817 help='parse config options defined for SPL build')
1831 (options, configs) = parser.parse_args()
1833 if len(configs) == 0 and not any((options.force_sync, options.build_db,
1834 options.imply)):
1844 if options.imply:
1846 if options.imply_flags == 'all':
1849 elif options.imply_flags:
1850 for flag in options.imply_flags.split(','):
1862 do_imply_config(configs, options.add_imply, imply_flags,
1863 options.skip_added)
1872 if not options.cleanup_headers_only:
1878 move_config(toolchains, configs, options, db_queue)
1882 cleanup_headers(configs, options)
1883 cleanup_extra_options(configs, options)
1884 cleanup_whitelist(configs, options)
1885 cleanup_readme(configs, options)
1887 if options.commit:
1899 if options.build_db: