go: support loongarch

Changelog: go编译支持loongarch
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2025-02-12 18:27:35 +08:00
committed by maoxiaochuan
parent 38e339a6f5
commit 521b0953e2
+2
View File
@@ -63,6 +63,8 @@ else ifeq ($(BR2_riscv),y)
GO_GOARCH = riscv64
else ifeq ($(BR2_s390x),y)
GO_GOARCH = s390x
else ifeq ($(BR2_loongarch),y)
GO_GOARCH = loong64
endif
# For the convienience of target packages.