west: sign/rimage: skip extended manifest when !SOF

Non-SOF build does not have extended manifest data for
rimage to process, which might result in rimage error.
So do not do extended manifest during signing when not
doing SOF builds.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2023-10-23 15:24:31 -07:00 committed by Anas Nashif
parent 73d5ecc0c5
commit 3be5732a68

View file

@ -517,6 +517,13 @@ class RimageSigner(Signer):
else: else:
no_manifest = False no_manifest = False
# Non-SOF build does not have extended manifest data for
# rimage to process, which might result in rimage error.
# So skip it when not doing SOF builds.
is_sof_build = build_conf.getboolean('CONFIG_SOF')
if not is_sof_build:
no_manifest = True
if no_manifest: if no_manifest:
extra_ri_args = [ ] extra_ri_args = [ ]
else: else: