mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 06:17:16 +00:00
libspdm: skip unsupported architectures instead of erroring
Change bb.error to bb.parse.SkipRecipe so the recipe is skipped at parse time for unsupported architectures, rather than raising a fatal error that breaks parsing even when the recipe is not in use. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
ea258b20b3
commit
526bb0466c
1 file changed
+1
-1
@@ -43,7 +43,7 @@ def get_spdm_multiarch(bb, d):
|
||||
if target_arch in multiarch_options :
|
||||
return multiarch_options[target_arch]
|
||||
|
||||
bb.error("unsupported architecture '%s'" % target_arch)
|
||||
raise bb.parse.SkipRecipe("unsupported architecture '%s'" % target_arch)
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DARCH=${@get_spdm_multiarch(bb, d)} \
|
||||
|
||||
Reference in new issue
Block a user