package/go: Enable MIPS support

Enable go language support for mips64 and mips64el (mips64le), which
were added in go-1.6.2.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016.08.x
Geoff Levand 2016-05-19 22:33:25 +00:00 committed by Thomas Petazzoni
parent e6b4c46631
commit 8e2bf3cb58
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
bool
default y
depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc64 || BR2_powerpc64le
depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_powerpc64 || BR2_powerpc64le || BR2_mips64 || BR2_mips64el
depends on !BR2_ARM_CPU_ARMV4

View File

@ -30,6 +30,10 @@ else ifeq ($(BR2_powerpc64),y)
GO_GOARCH = ppc64
else ifeq ($(BR2_powerpc64le),y)
GO_GOARCH = ppc64le
else ifeq ($(BR2_mips64),y)
GO_GOARCH = mips64
else ifeq ($(BR2_mips64el),y)
GO_GOARCH = mips64le
endif
HOST_GO_DEPENDENCIES = host-go-bootstrap