Newer
Older
help='show any build errors as boards are built')
parser.usage += ' CONFIG ...'
(options, configs) = parser.parse_args()
if len(configs) == 0 and not options.force_sync:
parser.print_usage()
sys.exit(1)
# prefix the option name with CONFIG_ if missing
configs = [ config if config.startswith('CONFIG_') else 'CONFIG_' + config
for config in configs ]
check_top_directory()
check_clean_directory()
update_cross_compile(options.color)
if not options.cleanup_headers_only:
move_config(configs, options)
if configs:
cleanup_headers(configs, options.dry_run)
if __name__ == '__main__':
main()