]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/go: document map_arch, and raise an error on unknown architecture
authorRoss Burton <ross.burton@arm.com>
Fri, 20 Jun 2025 15:14:19 +0000 (16:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jun 2025 20:42:36 +0000 (21:42 +0100)
commit025414c16319b068df1cd757ad9a3c987a6b871d
tree99764618152dca8c0665760c545d18f125da8bc2
parentc5a8a1dc637206fa398c639c49531f709e5b002f
lib/oe/go: document map_arch, and raise an error on unknown architecture

Add a comment explaining what this function does and where the values
come from.

If the architecture isn't know, instead of returning an empty string
which could fail mysteriously, raise a KeyError so it fails quickly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/go.py