west_commands: do not depend on CONFIG_SOF
Do not depend on SOF config, use RIMAGE_SCHEMA instead, defined in SOF.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/west_commands/sign.py b/scripts/west_commands/sign.py
index c2416f3..5c6e281 100644
--- a/scripts/west_commands/sign.py
+++ b/scripts/west_commands/sign.py
@@ -577,8 +577,8 @@
# 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:
+ rimage_schema = build_conf.get('CONFIG_RIMAGE_SIGNING_SCHEMA', None)
+ if rimage_schema is None:
no_manifest = True
self.generate_uuid_registry()