check_top_directory()
+ # prefix the option name with CONFIG_ if missing
+ args.configs = [prefix_config(cfg) for cfg in args.configs]
+
if args.test:
sys.argv = [sys.argv[0]]
fail, _ = doctest.testmod()
do_scan_source(os.getcwd(), args.update)
return 0
- # prefix the option name with CONFIG_ if missing
- configs = [prefix_config(cfg) for cfg in args.configs]
-
if args.imply:
imply_flags = 0
if args.imply_flags == 'all':
sys.exit(1)
imply_flags |= IMPLY_FLAGS[flag][0]
- do_imply_config(configs, args.add_imply, imply_flags, args.skip_added)
+ do_imply_config(args.configs, args.add_imply, imply_flags, args.skip_added)
return 0
if args.find:
- do_find_config(configs)
+ do_find_config(args.configs)
return 0
# We are either building the database or forcing a sync of defconfigs
progress = move_config(toolchains, args, db_queue, col)
db_queue.join()
+ configs = args.configs
if args.commit:
subprocess.call(['git', 'add', '-u'])
if configs: