summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2026-04-07 12:50:35 +0200
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-10 07:59:49 -0700
commit6ccd072ec19e47a4cb3e0b64f4118da4a6fd249a (patch)
tree8257627204e579d54422009f66ef3088cbb573a7 /meta-oe
parentcd7b52861dd4ad3262384987d6f3e619c2f312d6 (diff)
downloadmeta-openembedded-6ccd072ec19e47a4cb3e0b64f4118da4a6fd249a.tar.gz
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>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb2
1 files changed, 1 insertions, 1 deletions
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):
34 if target_arch in multiarch_options: 34 if target_arch in multiarch_options:
35 return multiarch_options[target_arch] 35 return multiarch_options[target_arch]
36 36
37 bb.fatal("unsupported architecture '%s'" % target_arch) 37 bb.parse.SkipRecipe("unsupported architecture '%s'" % target_arch)
38 38
39EXTRA_OECMAKE += "\ 39EXTRA_OECMAKE += "\
40 -DARCH=${@get_spdm_multiarch(d)} \ 40 -DARCH=${@get_spdm_multiarch(d)} \