]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
goarch: Move Go architecture mapping to a library
authorJoshua Watt <JPEWhacker@gmail.com>
Tue, 17 Oct 2023 13:59:02 +0000 (07:59 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Oct 2023 12:26:03 +0000 (13:26 +0100)
commit3e86f72fc2e1cc2e5ea4b4499722d736941167ce
tree882061d96264e27cacf34c097515a7b3be69aba5
parentcf767f4f4aaaf7c568816675c1c811132a892e30
goarch: Move Go architecture mapping to a library

Other spaces uses the Go architecture definitions as their own (for
example, container arches are defined to be Go arches). To make it
easier for other places to use this mapping, move the code that does the
translation of OpenEmbedded arches to Go arches to a library.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/goarch.bbclass
meta/lib/oe/__init__.py
meta/lib/oe/go.py [new file with mode: 0644]