Lines Matching refs:args

106     def __call__(self, parser, args, ignored, option):  argument
107 setattr(args, self.dest, not option.startswith('--no-'))
174 def do_run(self, args, ignored): argument
175 self.args = args # for check_force
178 build_dir = find_build_dir(args.build_dir)
186 if not args.tool:
187 args.tool = self.config_get('sign.tool')
192 if args.gen_bin:
198 elif args.gen_bin is None and bin_exists:
202 if args.gen_hex:
208 elif args.gen_hex is None and hex_exists:
212 if args.tool == 'imgtool':
213 if args.if_tool_available:
216 elif args.tool == 'rimage':
218 elif args.tool == 'silabs_commander':
222 if args.tool is None:
253 args = command.args
258 imgtool = self.find_imgtool(command, args)
264 flash = self.edt_flash_node(command, b, args.quiet)
288 if not args.quiet:
300 sign_base.extend(args.tool_args)
302 if not args.quiet:
305 out_bin = args.sbin or str(b / 'zephyr' / 'zephyr.signed.bin')
307 if not args.quiet:
311 subprocess.check_call(sign_bin, stdout=subprocess.PIPE if args.quiet else None)
313 out_hex = args.shex or str(b / 'zephyr' / 'zephyr.signed.hex')
315 if not args.quiet:
319 subprocess.check_call(sign_hex, stdout=subprocess.PIPE if args.quiet else None)
322 def find_imgtool(cmd, args): argument
323 if args.tool_path:
324 imgtool = args.tool_path
436 args = self.command.args
437 if args.tool_data:
438 conf_dir = pathlib.Path(args.tool_data)
493 args = command.args
506 if args.if_tool_available:
541 args.tool_path if args.tool_path else
544 err_prefix = '--tool-path' if args.tool_path else 'west config'
553 if args.if_tool_available:
562 if not args.quiet:
579 if '--no-manifest' in args.tool_args:
581 args.tool_args.remove('--no-manifest')
602 if not args.quiet and args.verbose:
603 sign_base += ['-v'] * args.verbose
613 if '-k' not in sign_config_extra_args + args.tool_args:
618 if args.tool_data and '-c' in args.tool_args:
619 command.wrn('--tool-data ' + args.tool_data + ' ignored! Overridden by: -- -c ... ')
621 if '-c' not in sign_config_extra_args + args.tool_args:
640 extra_ri_args + args.tool_args + components)
649 if not args.quiet:
662 if command.args.tool_path:
663 tool = command.args.tool_path
674 sign_key = getattr(command.args, 'sign',
676 mic_key = getattr(command.args, 'mic',
681 encrypt_key = getattr(command.args, 'encrypt', encrypt_key)
689 out_file = command.args.sbin or f'{kernel_prefix}.signed.rps'
704 commandline.extend(command.args.tool_args)
706 if not command.args.quiet: