Current code means that layer which contains a golang recipe cannot be
even parsed for machine which is not in supported golang architectures.
Skipping the golang recipes instead of throwing fatal error is much
friendlier and let machines without golang support co-exist in a layer
with golang recipes.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
return 'riscv64'
elif a == 'loongarch64':
return 'loong64'
- raise KeyError(f"Cannot map architecture {a}")
+ raise bb.parse.SkipRecipe(f"Cannot map architecture {a}")