From 8e2bf3cb58f86d14e320229c9bb31753888410a5 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Thu, 19 May 2016 22:33:25 +0000 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/go/Config.in.host | 2 +- package/go/go.mk | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index b57080399a..446e505724 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -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 diff --git a/package/go/go.mk b/package/go/go.mk index a1d6cf9df2..d5d964f2e2 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -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 -- 2.30.2