go: loongarch: add loongarch compile support

Changelog: go 支持loongarch编译
Signed-off-by: loongson <loongson@loongson.cn>
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
maoxiaochuan
2025-02-12 18:27:29 +08:00
parent 216db098cc
commit 38e339a6f5
+1 -1
View File
@@ -7,7 +7,7 @@ config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
# See src/go/build/syslist.go for the list of supported architectures
depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || BR2_aarch64 \
|| BR2_i386 || BR2_x86_64 || BR2_powerpc64le \
|| BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x
|| BR2_mips64 || BR2_mips64el || BR2_riscv || BR2_s390x || BR2_loongarch
depends on !BR2_ARM_CPU_ARMV4
# MIPS R6 support in Go has not yet been developed.
depends on !BR2_MIPS_CPU_MIPS64R6