diff mbox series

[3/6] goarch.bbclass: Add loongarch64 to go_map_arch

Message ID 20230906012817.3375-1-zangruochen@loongson.cn
State Accepted, archived
Commit 97010a9c1b2bfc7ea01441f37c0682bc5cd4349b
Headers show
Series [1/6] tcf-agent: Disable non-building features on loongarch64 | expand

Commit Message

臧若尘 Sept. 6, 2023, 1:28 a.m. UTC
Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
---
 meta/classes-recipe/goarch.bbclass | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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):
         return 'ppc64'
     elif a == 'riscv64':
         return 'riscv64'
+    elif a == 'loongarch64':
+        return 'loong64'
     else:
         raise bb.parse.SkipRecipe("Unsupported CPU architecture: %s" % a)