west: sign/rimage: fix rimage argument if --no-manifest
If --no-manifest is specified, '-e' is still being passed to rimage to build the extended manifest. Fix this so that when --no-manifest is specified, '-e' is no longer passed to rimage. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
045c4bbf72
commit
10eab23f08
1 changed files with 7 additions and 2 deletions
|
|
@ -461,13 +461,18 @@ class RimageSigner(Signer):
|
|||
else:
|
||||
no_manifest = False
|
||||
|
||||
if no_manifest:
|
||||
extra_ri_args = ['-i', '3']
|
||||
else:
|
||||
extra_ri_args = ['-i', '3', '-e']
|
||||
|
||||
if 'imx8' in target:
|
||||
sign_base = ([tool_path] + args.tool_args +
|
||||
['-o', out_bin] + conf_path_cmd + ['-i', '3', '-e'] +
|
||||
['-o', out_bin] + conf_path_cmd + extra_ri_args +
|
||||
[kernel])
|
||||
else:
|
||||
sign_base = ([tool_path] + args.tool_args +
|
||||
['-o', out_bin] + conf_path_cmd + ['-i', '3', '-e'] +
|
||||
['-o', out_bin] + conf_path_cmd + extra_ri_args +
|
||||
[bootloader, kernel])
|
||||
|
||||
if not args.quiet:
|
||||
|
|
|
|||
Loading…
Reference in a new issue