Lines Matching refs:args

86     def __call__(self, parser, args, ignored, option):  argument
87 setattr(args, self.dest, not option.startswith('--no-'))
154 def do_run(self, args, ignored): argument
155 self.args = args # for check_force
158 build_dir = find_build_dir(args.build_dir)
166 if not args.tool:
167 args.tool = self.config_get('sign.tool')
172 if args.gen_bin:
178 elif args.gen_bin is None and bin_exists:
182 if args.gen_hex:
188 elif args.gen_hex is None and hex_exists:
192 if args.tool == 'imgtool':
193 if args.if_tool_available:
196 elif args.tool == 'rimage':
200 if args.tool is None:
231 args = command.args
236 imgtool = self.find_imgtool(command, args)
242 flash = self.edt_flash_node(command, b, args.quiet)
266 if not args.quiet:
278 sign_base.extend(args.tool_args)
280 if not args.quiet:
283 out_bin = args.sbin or str(b / 'zephyr' / 'zephyr.signed.bin')
285 if not args.quiet:
289 subprocess.check_call(sign_bin, stdout=subprocess.PIPE if args.quiet else None)
291 out_hex = args.shex or str(b / 'zephyr' / 'zephyr.signed.hex')
293 if not args.quiet:
297 subprocess.check_call(sign_hex, stdout=subprocess.PIPE if args.quiet else None)
300 def find_imgtool(cmd, args): argument
301 if args.tool_path:
302 imgtool = args.tool_path
414 args = self.command.args
415 if args.tool_data:
416 conf_dir = pathlib.Path(args.tool_data)
457 args = command.args
470 if args.if_tool_available:
505 args.tool_path if args.tool_path else
508 err_prefix = '--tool-path' if args.tool_path else 'west config'
517 if args.if_tool_available:
526 if not args.quiet:
543 if '--no-manifest' in args.tool_args:
545 args.tool_args.remove('--no-manifest')
565 if not args.quiet and args.verbose:
566 sign_base += ['-v'] * args.verbose
576 if '-k' not in sign_config_extra_args + args.tool_args:
581 if args.tool_data and '-c' in args.tool_args:
582 command.wrn('--tool-data ' + args.tool_data + ' ignored! Overridden by: -- -c ... ')
584 if '-c' not in sign_config_extra_args + args.tool_args:
603 extra_ri_args + args.tool_args + components)
612 if not args.quiet: