Lines Matching full:configs

19 First, you must edit the Kconfig to add the menu entries for the configs
28 The tool walks through all the defconfig files and move the given CONFIGs.
78 from the config headers (include/configs/*.h).
118 ./tools/moveconfig.py -s -d <(grep -l X86 configs/*)
122 grep -l X86 configs/* | ./tools/moveconfig.py -s -d -
124 To process CONFIG_CMD_FPGAD only for a subset of configs based on path match:
126 ls configs/{hrcon*,iocon*,strider*} | \
130 Finding implied CONFIGs
139 This tool can help find such configs. To use it, first build a database:
395 line: Path or filename to match, e.g. 'configs/snow_defconfig' or
396 'k2*_defconfig'. If no directory is provided, 'configs/' is
406 pattern = os.path.join('configs', line)
439 return [ defconfig[len('configs') + 1:] for defconfig in set(defconfigs) ]
442 """Get all the defconfig files under the configs/ directory."""
444 for (dirpath, dirnames, filenames) in os.walk('configs'):
445 dirpath = dirpath[len('configs') + 1:]
608 def cleanup_headers(configs, options): argument
612 configs: A list of CONFIGs to remove.
619 for config in configs:
632 def cleanup_one_extra_option(defconfig_path, configs, options): argument
637 configs: A list of CONFIGs to remove.
659 if not (token[:pos] if pos >= 0 else token) in configs:
681 def cleanup_extra_options(configs, options): argument
685 configs: A list of CONFIGs to remove.
691 configs = [ config[len('CONFIG_'):] for config in configs ]
696 cleanup_one_extra_option(os.path.join('configs', defconfig), configs,
699 def cleanup_whitelist(configs, options): argument
703 configs: A list of CONFIGs to remove.
712 lines = [x for x in lines if x.strip() not in configs]
723 def cleanup_readme(configs, options): argument
727 configs: A list of CONFIGs to remove.
734 for config in configs:
802 def __init__(self, configs, options, build_dir): argument
806 configs: A list of CONFIGs to move.
810 self.configs = configs
933 for config in self.configs:
979 Return additional log if moved CONFIGs were removed again by
1021 defconfig, configs = self.db_queue.get()
1022 self.config_db[defconfig] = configs
1035 def __init__(self, toolchains, configs, options, progress, devnull, argument
1041 configs: A list of CONFIGs to move.
1058 self.parser = KconfigParser(configs, options, self.build_dir)
1187 configs = {}
1192 configs[config] = value.rstrip()
1193 self.db_queue.put([self.defconfig, configs])
1226 orig_defconfig = os.path.join('configs', self.defconfig)
1278 def __init__(self, toolchains, configs, options, progress, argument
1284 configs: A list of CONFIGs to move.
1296 self.slots.append(Slot(toolchains, configs, options, progress,
1378 """Reference source against which original configs should be parsed."""
1410 def move_config(toolchains, configs, options, db_queue): argument
1414 configs: A list of CONFIGs to move.
1417 if len(configs) == 0:
1425 print 'Move ' + ', '.join(configs),
1440 slots = Slots(toolchains, configs, options, progress, reference_src_dir,
1568 - For each config (from a list of all configs):
1577 imply_flags: Flags which control which implying configs are allowed
1582 find_superset: True to look for configs which are a superset of those
1590 defconfig - a defconfig file (a string, e.g. 'configs/snow_defconfig')
1610 configs = {}
1615 config_db[defconfig] = configs
1617 configs = {}
1620 configs[config] = value
1690 # Now we have a dict imply_configs of configs which imply each config
1692 # config. Rank them so that we print the configs that imply the largest
1808 (options, configs) = parser.parse_args()
1810 if len(configs) == 0 and not any((options.force_sync, options.build_db,
1816 configs = [ config if config.startswith('CONFIG_') else 'CONFIG_' + config
1817 for config in configs ]
1839 do_imply_config(configs, options.add_imply, imply_flags,
1855 move_config(toolchains, configs, options, db_queue)
1858 if configs:
1859 cleanup_headers(configs, options)
1860 cleanup_extra_options(configs, options)
1861 cleanup_whitelist(configs, options)
1862 cleanup_readme(configs, options)
1866 if configs:
1867 msg = 'Convert %s %sto Kconfig' % (configs[0],
1868 'et al ' if len(configs) > 1 else '')
1870 '\n '.join(configs))
1872 msg = 'configs: Resync with savedefconfig'
1878 for defconfig, configs in config_db.iteritems():
1880 for config in sorted(configs.keys()):
1881 fd.write(' %s=%s\n' % (config, configs[config]))