]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/go: Enable MIPS support
authorGeoff Levand <geoff@infradead.org>
Thu, 19 May 2016 22:33:25 +0000 (22:33 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Jun 2016 21:41:09 +0000 (23:41 +0200)
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>
package/go/Config.in.host
package/go/go.mk

index b57080399ad3b6c88508373011f7de5cef31aacc..446e505724b407283c50076121356bb31ba6a1ca 100644 (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
index a1d6cf9df2081d0e8119cb3349e53b719aa1d05a..d5d964f2e296ba509824c0d2797c0dc76abd5ef5 100644 (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