spdm-emu: use SkipRecipe instead of fatal error for unsupported architectures

Current code fails to parse meta-oe layer for machine with unsupported
architecture.
This is too restrictive as it requires downstream layers to play tricks
with masking the recipe. Usual way is to skip the recipe instead.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Peter Marko 2026-04-07 12:50:35 +02:00 committed by Khem Raj
parent d2208c8d71
commit 278d98bf00
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -34,7 +34,7 @@ def get_spdm_multiarch(d):
if target_arch in multiarch_options:
return multiarch_options[target_arch]
bb.fatal("unsupported architecture '%s'" % target_arch)
bb.parse.SkipRecipe("unsupported architecture '%s'" % target_arch)
EXTRA_OECMAKE += "\
-DARCH=${@get_spdm_multiarch(d)} \