aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-08-16 15:52:24 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-08-18 21:01:51 +0800
commitbdbfe572f1fb51710256b78065a0a330a3970a89 (patch)
tree47ef77f04bf71dce5cb3ed69f78e3dee82422c21
parentc4e4baf6682a32e129b19dd16258e6b693c2ba43 (diff)
downloadgo-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.tar
go-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.tar.gz
go-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.tar.bz2
go-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.tar.lz
go-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.tar.xz
go-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.tar.zst
go-tangerine-bdbfe572f1fb51710256b78065a0a330a3970a89.zip
[release/1.4.11] Makefile: support building for the MIPS64 platforms (#2682)
(cherry picked from commit 4c2cc32f2e279baa3059603b8c8a4329f31606f6)
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4bcdab299..6cb64e8a4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
# don't need to bother with make.
.PHONY: geth geth-cross evm all test clean
-.PHONY: geth-linux geth-linux-386 geth-linux-amd64
+.PHONY: geth-linux geth-linux-386 geth-linux-amd64 geth-linux-mips64 geth-linux-mips64le
.PHONY: geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
.PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64
.PHONY: geth-windows geth-windows-386 geth-windows-amd64
@@ -37,7 +37,7 @@ geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios
@echo "Full cross compilation done:"
@ls -ld $(GOBIN)/geth-*
-geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm
+geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm geth-linux-mips64 geth-linux-mips64le
@echo "Linux cross compilation done:"
@ls -ld $(GOBIN)/geth-linux-*
@@ -75,6 +75,16 @@ geth-linux-arm64:
@echo "Linux ARM64 cross compilation done:"
@ls -ld $(GOBIN)/geth-linux-* | grep arm64
+geth-linux-mips64:
+ build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/mips64 -v ./cmd/geth
+ @echo "Linux MIPS64 cross compilation done:"
+ @ls -ld $(GOBIN)/geth-linux-* | grep mips64
+
+geth-linux-mips64le:
+ build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/mips64le -v ./cmd/geth
+ @echo "Linux MIPS64le cross compilation done:"
+ @ls -ld $(GOBIN)/geth-linux-* | grep mips64le
+
geth-darwin: geth-darwin-386 geth-darwin-amd64
@echo "Darwin cross compilation done:"
@ls -ld $(GOBIN)/geth-darwin-*