diff options
| author | Peter Marko <peter.marko@siemens.com> | 2026-04-07 12:50:35 +0200 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-07 08:44:52 -0700 |
| commit | 278d98bf00adaad7d9039e867f27e6b452cf9bd6 (patch) | |
| tree | 0299a01428399358b42bc227abab9266c3b4d9f4 | |
| parent | d2208c8d7139b473b21a8ab1d2950c267f84e81a (diff) | |
| download | meta-openembedded-278d98bf00adaad7d9039e867f27e6b452cf9bd6.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>
| -rw-r--r-- | meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb | 2 |
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 | ||
| 39 | EXTRA_OECMAKE += "\ | 39 | EXTRA_OECMAKE += "\ |
| 40 | -DARCH=${@get_spdm_multiarch(d)} \ | 40 | -DARCH=${@get_spdm_multiarch(d)} \ |
