From 6ccd072ec19e47a4cb3e0b64f4118da4a6fd249a Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Tue, 7 Apr 2026 12:50:35 +0200 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb b/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb index ae196946d9..662519d5b2 100644 --- a/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb +++ b/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb @@ -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)} \