aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-08-16 15:52:24 +0800
committerFelix Lange <fjl@twurst.com>2016-08-16 15:52:24 +0800
commit4c2cc32f2e279baa3059603b8c8a4329f31606f6 (patch)
treeb524000f13ff912539540aafd14751de278e2be8 /Makefile
parent89a3fbc0fbee7591197db22a8fd0d8d1f6aad5fd (diff)
downloaddexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.tar
dexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.tar.gz
dexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.tar.bz2
dexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.tar.lz
dexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.tar.xz
dexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.tar.zst
dexon-4c2cc32f2e279baa3059603b8c8a4329f31606f6.zip
Makefile: support building for the MIPS64 platforms (#2682)
Diffstat (limited to 'Makefile')
-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-*