diff options
author | Zang Ruochen <zangruochen@loongson.cn> | 2023-09-06 09:28:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-07 07:53:51 +0100 |
commit | 8e4b6fdce574b4cca3886a9e3d9b3486bb8ea7ed (patch) | |
tree | 0ac3654929951f4b15c4a3544f469fbfb43b4416 /meta | |
parent | 4ed66fe83a1b1d420f3eb692d21d261d9a835cf1 (diff) | |
download | poky-8e4b6fdce574b4cca3886a9e3d9b3486bb8ea7ed.tar.gz |
goarch.bbclass: Add loongarch64 to go_map_arch
(From OE-Core rev: 97010a9c1b2bfc7ea01441f37c0682bc5cd4349b)
Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-recipe/goarch.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/goarch.bbclass b/meta/classes-recipe/goarch.bbclass index 61ead30a63..e3555e1e46 100644 --- a/meta/classes-recipe/goarch.bbclass +++ b/meta/classes-recipe/goarch.bbclass | |||
@@ -90,6 +90,8 @@ def go_map_arch(a, d): | |||
90 | return 'ppc64' | 90 | return 'ppc64' |
91 | elif a == 'riscv64': | 91 | elif a == 'riscv64': |
92 | return 'riscv64' | 92 | return 'riscv64' |
93 | elif a == 'loongarch64': | ||
94 | return 'loong64' | ||
93 | else: | 95 | else: |
94 | raise bb.parse.SkipRecipe("Unsupported CPU architecture: %s" % a) | 96 | raise bb.parse.SkipRecipe("Unsupported CPU architecture: %s" % a) |
95 | 97 | ||