summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/goarch.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* goarch: Move Go architecture mapping to a libraryJoshua Watt2023-11-241-26/+3
| | | | | | | | | | | | | | 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. (From OE-Core rev: 5e0267aeb7d9f575f270f6856a67ac62ce8a0f71) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3e86f72fc2e1cc2e5ea4b4499722d736941167ce) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* goarch.bbclass: not compatible with riscv32Kai Kang2023-09-141-0/+1
| | | | | | | | | | | | | | It fails to build recipes which inherit goarch.bbclass for qemuriscv32: | ERROR: Nothing PROVIDES 'docker-moby' | docker-moby was skipped: Unsupported CPU architecture: riscv32 So empty COMPATIBLE_HOST for riscv32. (From OE-Core rev: e053e718b07855eacf0c24741ec8a56308f23657) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* goarch.bbclass: Add loongarch64 to go_map_archZang Ruochen2023-09-071-0/+2
| | | | | | | (From OE-Core rev: 97010a9c1b2bfc7ea01441f37c0682bc5cd4349b) Signed-off-by: Zang Ruochen <zangruochen@loongson.cn> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Update classes to match new bitbake class scope functionalityRichard Purdie2022-08-121-0/+122
Move classes to classes-global or classes-recipe as appropriate to take advantage of new bitbake functionality to check class scope/usage. (From OE-Core rev: f5c128008365e141082c129417eb72d2751e8045) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>