aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-12-02 22:57:15 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-12-02 22:57:15 +0800
commit98d68cfa91abbfe97cd0544291e39f7376960210 (patch)
treeb69603bb5230bc7c4892e5b8527c10d8602429db /Makefile
parent888e7bc765acc6bfe0b8afc4ecd9830394b0a026 (diff)
downloadgo-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.tar
go-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.tar.gz
go-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.tar.bz2
go-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.tar.lz
go-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.tar.xz
go-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.tar.zst
go-tangerine-98d68cfa91abbfe97cd0544291e39f7376960210.zip
Makefile: enable 64-bit ARM builds on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 12802647e..297f3ac00 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@
# don't need to bother with make.
.PHONY: geth geth-cross evm all test travis-test-with-coverage xgo clean
-.PHONY: geth-linux geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-386 geth-linux-amd64
+.PHONY: geth-linux geth-linux-386 geth-linux-amd64
+.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
.PHONY: geth-android geth-ios
@@ -37,7 +38,7 @@ geth-linux-amd64: xgo
@echo "Linux amd64 cross compilation done:"
@ls -l $(GOBIN)/geth-linux-* | grep amd64
-geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7
+geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
@echo "Linux ARM cross compilation done:"
@ls -l $(GOBIN)/geth-linux-* | grep arm
@@ -56,6 +57,11 @@ geth-linux-arm-7: xgo
@echo "Linux ARMv7 cross compilation done:"
@ls -l $(GOBIN)/geth-linux-* | grep arm-7
+geth-linux-arm64: xgo
+ build/env.sh $(GOBIN)/xgo --go=$(GO) --buildmode=$(MODE) --dest=$(GOBIN) --deps=$(CROSSDEPS) --targets=linux/arm64 -v $(shell build/flags.sh) ./cmd/geth
+ @echo "Linux ARM64 cross compilation done:"
+ @ls -l $(GOBIN)/geth-linux-* | grep arm64
+
geth-darwin: geth-darwin-386 geth-darwin-amd64
@echo "Darwin cross compilation done:"
@ls -l $(GOBIN)/geth-darwin-*